DTP_VARIANT 结构
Specifies the data type of the column. This is a value from the DataType enumeration that determines the type of DTP_VARIANT structure stored in each cell of this column.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Public Structure DTP_VARIANT
用法
Dim instance As DTP_VARIANT
public struct DTP_VARIANT
public value class DTP_VARIANT
[<SealedAttribute>]
type DTP_VARIANT = struct end
JScript 支持使用结构,但不支持声明新结构。
DTP_VARIANT 类型公开以下成员。
方法
名称 | 说明 | |
---|---|---|
Equals | (从 ValueType 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 ValueType 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 ValueType 继承。) |
页首
字段
名称 | 说明 | |
---|---|---|
dwLength | Represents an unsigned integer that contains the length of the data in the union. | |
u | Contains the data union. | |
vt | Represents an enumeration of the DataType. |
页首
注释
This structure is used by the pipeline to determine column information. When a component calls the GetData method, the last parameter is the returned column data, in a DTP_VARIANT structure. The data union is the union of the different types supported by the pipeline, such as Long, String, wstring, decimal, numeric, and so on, and it contains the column data. The DataType is the datatype of the column data, and it tells which part of the union to use. The length specifies the length of the data in the union.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。