共用方式為


IDTSManagedComponentWrapper100.WrapperSetExternalMetadataColumnProperty 方法

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

Sets the external metadata column property of the wrapper.

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

語法

'宣告
Function WrapperSetExternalMetadataColumnProperty ( _
    lID As Integer, _
    lExternalMetadataColumnID As Integer, _
    bstrPropertyName As String, _
    vtValue As Object _
) As IDTSCustomProperty100
'用途
Dim instance As IDTSManagedComponentWrapper100 
Dim lID As Integer 
Dim lExternalMetadataColumnID As Integer 
Dim bstrPropertyName As String 
Dim vtValue As Object 
Dim returnValue As IDTSCustomProperty100 

returnValue = instance.WrapperSetExternalMetadataColumnProperty(lID, _
    lExternalMetadataColumnID, bstrPropertyName, _
    vtValue)
IDTSCustomProperty100 WrapperSetExternalMetadataColumnProperty(
    int lID,
    int lExternalMetadataColumnID,
    string bstrPropertyName,
    Object vtValue
)
IDTSCustomProperty100^ WrapperSetExternalMetadataColumnProperty(
    [InAttribute] int lID, 
    [InAttribute] int lExternalMetadataColumnID, 
    [InAttribute] String^ bstrPropertyName, 
    [InAttribute] Object^ vtValue
)
abstract WrapperSetExternalMetadataColumnProperty : 
        lID:int * 
        lExternalMetadataColumnID:int * 
        bstrPropertyName:string * 
        vtValue:Object -> IDTSCustomProperty100
function WrapperSetExternalMetadataColumnProperty(
    lID : int, 
    lExternalMetadataColumnID : int, 
    bstrPropertyName : String, 
    vtValue : Object
) : IDTSCustomProperty100

參數

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

傳回值

型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The external metadata column property of the wrapper.

請參閱

參考

IDTSManagedComponentWrapper100 介面

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