Click or drag to resize

TDengineStmtSetTbnameTags Method

For INSERT only. set a table name for binding table name as parameter and tag values for all tag parameters.

Namespace:  TDengineDriver
Assembly:  TDengineDriver (in TDengineDriver.dll) Version: 1.0.6
Syntax
C#
public static int StmtSetTbnameTags(
	IntPtr stmt,
	string name,
	TAOS_BIND[] tags
)

Parameters

stmt
Type: SystemIntPtr
could be the value returned by 'StmtInit', that may be a valid object or NULL.
name
Type: SystemString
use to set table name
tags
Type: TDengineDriverTAOS_BIND
is an array contains all tag values,each item in the array represents a tag column's value. the item number and sequence should keep consistence with that in stable tag definition.

Return Value

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