SetUsageType-Methode

Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column.

Diese API ist nicht mit CLS kompatibel. Die CLS-kompatible Alternative ist .

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable Function SetUsageType ( _
    inputID As Integer, _
    virtualInput As IDTSVirtualInput100, _
    lineageID As Integer, _
    usageType As DTSUsageType _
) As IDTSInputColumn100
'Usage
Dim instance As PipelineComponent
Dim inputID As Integer
Dim virtualInput As IDTSVirtualInput100
Dim lineageID As Integer
Dim usageType As DTSUsageType
Dim returnValue As IDTSInputColumn100

returnValue = instance.SetUsageType(inputID, _
    virtualInput, lineageID, usageType)
[CLSCompliantAttribute(false)]
public virtual IDTSInputColumn100 SetUsageType(
    int inputID,
    IDTSVirtualInput100 virtualInput,
    int lineageID,
    DTSUsageType usageType
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSInputColumn100^ SetUsageType(
    int inputID, 
    IDTSVirtualInput100^ virtualInput, 
    int lineageID, 
    DTSUsageType usageType
)
[<CLSCompliantAttribute(false)>]
abstract SetUsageType : 
        inputID:int * 
        virtualInput:IDTSVirtualInput100 * 
        lineageID:int * 
        usageType:DTSUsageType -> IDTSInputColumn100 
[<CLSCompliantAttribute(false)>]
override SetUsageType : 
        inputID:int * 
        virtualInput:IDTSVirtualInput100 * 
        lineageID:int * 
        usageType:DTSUsageType -> IDTSInputColumn100 
public function SetUsageType(
    inputID : int, 
    virtualInput : IDTSVirtualInput100, 
    lineageID : int, 
    usageType : DTSUsageType
) : IDTSInputColumn100

Parameter