共用方式為


IDTSManagedComponentHost100.HostSetExternalMetadataColumnDataTypeProperties 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Sets the host external metadata column data type properties.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub HostSetExternalMetadataColumnDataTypeProperties ( _
    pWrapper As IDTSManagedComponentWrapper100, _
    lID As Integer, _
    lExternalMetadataColumnID As Integer, _
    eDataType As DataType, _
    lLength As Integer, _
    lPrecision As Integer, _
    lScale As Integer, _
    lCodePage As Integer _
)
'用途
Dim instance As IDTSManagedComponentHost100 
Dim pWrapper As IDTSManagedComponentWrapper100 
Dim lID As Integer 
Dim lExternalMetadataColumnID As Integer 
Dim eDataType As DataType 
Dim lLength As Integer 
Dim lPrecision As Integer 
Dim lScale As Integer 
Dim lCodePage As Integer

instance.HostSetExternalMetadataColumnDataTypeProperties(pWrapper, _
    lID, lExternalMetadataColumnID, _
    eDataType, lLength, lPrecision, lScale, _
    lCodePage)
void HostSetExternalMetadataColumnDataTypeProperties(
    IDTSManagedComponentWrapper100 pWrapper,
    int lID,
    int lExternalMetadataColumnID,
    DataType eDataType,
    int lLength,
    int lPrecision,
    int lScale,
    int lCodePage
)
void HostSetExternalMetadataColumnDataTypeProperties(
    [InAttribute] IDTSManagedComponentWrapper100^ pWrapper, 
    [InAttribute] int lID, 
    [InAttribute] int lExternalMetadataColumnID, 
    [InAttribute] DataType eDataType, 
    [InAttribute] int lLength, 
    [InAttribute] int lPrecision, 
    [InAttribute] int lScale, 
    [InAttribute] int lCodePage
)
abstract HostSetExternalMetadataColumnDataTypeProperties : 
        pWrapper:IDTSManagedComponentWrapper100 * 
        lID:int * 
        lExternalMetadataColumnID:int * 
        eDataType:DataType * 
        lLength:int * 
        lPrecision:int * 
        lScale:int * 
        lCodePage:int -> unit
function HostSetExternalMetadataColumnDataTypeProperties(
    pWrapper : IDTSManagedComponentWrapper100, 
    lID : int, 
    lExternalMetadataColumnID : int, 
    eDataType : DataType, 
    lLength : int, 
    lPrecision : int, 
    lScale : int, 
    lCodePage : int
)

參數

  • lExternalMetadataColumnID
    型別:System.Int32
    The external metadata column identifier.

請參閱

參考

IDTSManagedComponentHost100 介面

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