共用方式為


ApplicationClass.DataTypeInfoFromDataType 方法

此 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

參數

傳回值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSDataTypeInfo100
A DataTypeInfo object.

實作

IDTSApplication100.DataTypeInfoFromDataType(DataType)

請參閱

參考

ApplicationClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間