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 命名空间