다음을 통해 공유


DTP_VARIANT Structure

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 (in microsoft.sqlserver.dtsruntimewrap.dll)

구문

‘선언
Public Structure DTP_VARIANT
public struct DTP_VARIANT
public value class DTP_VARIANT
public final class DTP_VARIANT extends ValueType
JScript는 구조체의 사용을 지원하지만 새로 선언하는 것은 지원하지 않습니다.

주의

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.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

DTP_VARIANT Members
Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace