Udostępnij przez


PipelineComponent.SetUsageType Method

Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column. This method is not CLS-compliant. The CLS-compliant alternative is .

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

Syntax

'Deklaracja
<CLSCompliantAttribute(False)> _
Public Overridable Function SetUsageType ( _
    inputID As Integer, _
    virtualInput As IDTSVirtualInput100, _
    lineageID As Integer, _
    usageType As DTSUsageType _
) As IDTSInputColumn100
[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
)
/** @attribute CLSCompliantAttribute(false) */ 
public IDTSInputColumn100 SetUsageType (
    int inputID, 
    IDTSVirtualInput100 virtualInput, 
    int lineageID, 
    DTSUsageType usageType
)
CLSCompliantAttribute(false) 
public function SetUsageType (
    inputID : int, 
    virtualInput : IDTSVirtualInput100, 
    lineageID : int, 
    usageType : DTSUsageType
) : IDTSInputColumn100

Parameters

  • inputID
    The ID of the IDTSInput100 object.
  • virtualInput
    The IDTSVirtualInput100 object that is used to map the IDTSInputColumn100 object.

Return Value

The IDTSInputColumn100 object whose UsageType is set.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.