Udostępnij za pośrednictwem


PipelineComponent.SetUsageType Method

Definition

Important

This API is not CLS-compliant.

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

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInputColumn100 ^ SetUsageType(int inputID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSVirtualInput100 ^ virtualInput, int lineageID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSUsageType usageType);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100 SetUsageType (int inputID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100 virtualInput, int lineageID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType usageType);
[<System.CLSCompliant(false)>]
abstract member SetUsageType : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100 * int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100
override this.SetUsageType : int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100 * int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100
Public Overridable Function SetUsageType (inputID As Integer, virtualInput As IDTSVirtualInput100, lineageID As Integer, usageType As DTSUsageType) As IDTSInputColumn100

Parameters

inputID
Int32

The ID of the IDTSInput100 object.

virtualInput
IDTSVirtualInput100

The IDTSVirtualInput100 object that is used to map the IDTSInputColumn100 object.

lineageID
Int32

The LineageID of the IDTSVirtualInputColumn100 object.

usageType
DTSUsageType

A value from the DTSUsageType enumeration.

Returns

The IDTSInputColumn100 object whose UsageType is set.

Attributes

Applies to