DTP_VARIANT-Struktur
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.
Namespace: Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Syntax
'Declaration
Public Structure DTP_VARIANT
'Usage
Dim instance As DTP_VARIANT
public struct DTP_VARIANT
public value class DTP_VARIANT
[<SealedAttribute>]
type DTP_VARIANT = struct end
JScript unterstützt die Verwendung von Strukturen, aber nicht die Deklaration neuer Strukturen.
Der DTP_VARIANT-Typ macht folgende Elemente verfügbar.
Methoden
Name | Beschreibung | |
---|---|---|
Equals | (Geerbt von ValueType.) | |
Finalize | (Geerbt von Object.) | |
GetHashCode | (Geerbt von ValueType.) | |
GetType | (Geerbt von Object.) | |
MemberwiseClone | (Geerbt von Object.) | |
ToString | (Geerbt von ValueType.) |
Zum Anfang
Felder
Name | Beschreibung | |
---|---|---|
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. |
Zum Anfang
Hinweise
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.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.