Click or drag to resize

TDengineStmtSetSubTbname Method

For INSERT only. Set a table name for binding table name as parameter. Only used for binding all tables in one stable, user application must call 'loadTableInfo' API to load all table meta before calling this API. If the table meta is not cached locally, it will return error.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static int StmtSetSubTbname(
	IntPtr stmt,
	string name
)

Parameters

stmt
Type: SystemIntPtr
could be the value returned by 'StmtInit', that may be a valid object or NULL.
name
Type: SystemString
table name which is belong to an stable

Return Value

Type: Int32
0 for success, non-zero for failure.
See Also