Sdílet prostřednictvím


IDTSDesigntimeComponent100.SetExternalMetadataColumnProperty Method

Sets an individual property of an external metadata column.

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

Syntax

'Declaration
Function SetExternalMetadataColumnProperty ( _
    lID As Integer, _
    lExternalMetadataColumnID As Integer, _
    bstrPropertyName As String, _
    vtValue As Object _
) As IDTSCustomProperty100
'Usage
Dim instance As IDTSDesigntimeComponent100
Dim lID As Integer
Dim lExternalMetadataColumnID As Integer
Dim bstrPropertyName As String
Dim vtValue As Object
Dim returnValue As IDTSCustomProperty100

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

Parameters

  • lExternalMetadataColumnID
    Type: System.Int32
    The ID of the external metadata column.
  • bstrPropertyName
    Type: System.String
    The name of the property whose value is being set.
  • vtValue
    Type: System.Object
    The value to assign to the property.

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
An IDTSCustomProperty100 that contains the modified property value.