Bagikan melalui


ManagedComponentHost.HostSetExternalMetadataColumnDataTypeProperties Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Sets the external metadata column data type property of the host.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
Public Sub HostSetExternalMetadataColumnDataTypeProperties ( _
    wrapper As IDTSManagedComponentWrapper100, _
    iID As Integer, _
    iExternalMetadataColumnID As Integer, _
    eDataType As DataType, _
    iLength As Integer, _
    iPrecision As Integer, _
    iScale As Integer, _
    iCodePage As Integer _
)
'Usage
Dim instance As ManagedComponentHost 
Dim wrapper As IDTSManagedComponentWrapper100 
Dim iID As Integer 
Dim iExternalMetadataColumnID As Integer 
Dim eDataType As DataType 
Dim iLength As Integer 
Dim iPrecision As Integer 
Dim iScale As Integer 
Dim iCodePage As Integer

instance.HostSetExternalMetadataColumnDataTypeProperties(wrapper, _
    iID, iExternalMetadataColumnID, _
    eDataType, iLength, iPrecision, iScale, _
    iCodePage)
public void HostSetExternalMetadataColumnDataTypeProperties(
    IDTSManagedComponentWrapper100 wrapper,
    int iID,
    int iExternalMetadataColumnID,
    DataType eDataType,
    int iLength,
    int iPrecision,
    int iScale,
    int iCodePage
)
public:
virtual void HostSetExternalMetadataColumnDataTypeProperties(
    IDTSManagedComponentWrapper100^ wrapper, 
    int iID, 
    int iExternalMetadataColumnID, 
    DataType eDataType, 
    int iLength, 
    int iPrecision, 
    int iScale, 
    int iCodePage
) sealed
abstract HostSetExternalMetadataColumnDataTypeProperties : 
        wrapper:IDTSManagedComponentWrapper100 * 
        iID:int * 
        iExternalMetadataColumnID:int * 
        eDataType:DataType * 
        iLength:int * 
        iPrecision:int * 
        iScale:int * 
        iCodePage:int -> unit  
override HostSetExternalMetadataColumnDataTypeProperties : 
        wrapper:IDTSManagedComponentWrapper100 * 
        iID:int * 
        iExternalMetadataColumnID:int * 
        eDataType:DataType * 
        iLength:int * 
        iPrecision:int * 
        iScale:int * 
        iCodePage:int -> unit
public final function HostSetExternalMetadataColumnDataTypeProperties(
    wrapper : IDTSManagedComponentWrapper100, 
    iID : int, 
    iExternalMetadataColumnID : int, 
    eDataType : DataType, 
    iLength : int, 
    iPrecision : int, 
    iScale : int, 
    iCodePage : int
)

Parameters

  • iExternalMetadataColumnID
    Type: System.Int32
    The external metadata column identifier.

Implements

IDTSManagedComponentHost100.HostSetExternalMetadataColumnDataTypeProperties(IDTSManagedComponentWrapper100, Int32, Int32, DataType, Int32, Int32, Int32, Int32)

See Also

Reference

ManagedComponentHost Class

Microsoft.SqlServer.Dts.Pipeline Namespace