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에서 상속됨)
공용 메서드 GetHashCode (ValueType에서 상속됨)
공용 메서드 GetType (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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스