Click or drag to resize

TDengineQuery Method

Public function. This API is used to execute SQL statements, which can be DQL, DML or DDL statements. Change the SQL command to UTF-8 to avoid error under Windows.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static IntPtr Query(
	IntPtr conn,
	string command
)

Parameters

conn
Type: SystemIntPtr
The database connection returned by calling Connect(String, String, String, String, Int16)
command
Type: SystemString
The SQL statement needed to execute.

Return Value

Type: IntPtr
A reference point to the result.
See Also