此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Returns the DataTypeInfo object for the specified data type.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Public Overridable Function DataTypeInfoFromDataType ( _
dt As DataType _
) As IDTSDataTypeInfo100
'用途
Dim instance As ApplicationClass
Dim dt As DataType
Dim returnValue As IDTSDataTypeInfo100
returnValue = instance.DataTypeInfoFromDataType(dt)
public virtual IDTSDataTypeInfo100 DataTypeInfoFromDataType(
DataType dt
)
public:
virtual IDTSDataTypeInfo100^ DataTypeInfoFromDataType(
[InAttribute] DataType dt
)
abstract DataTypeInfoFromDataType :
dt:DataType -> IDTSDataTypeInfo100
override DataTypeInfoFromDataType :
dt:DataType -> IDTSDataTypeInfo100
public function DataTypeInfoFromDataType(
dt : DataType
) : IDTSDataTypeInfo100
參數
- dt
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DataType
The data type.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSDataTypeInfo100
A DataTypeInfo object.
實作
IDTSApplication100.DataTypeInfoFromDataType(DataType)