PipelineComponent::SetUsageType Method (Int32, IDTSVirtualInput100^, Int32, DTSUsageType)
Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column.
This API is not CLS-compliant.
Assembly: Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)
public: [CLSCompliantAttribute(false)] virtual IDTSInputColumn100^ SetUsageType( int inputID, IDTSVirtualInput100^ virtualInput, int lineageID, DTSUsageType usageType )
Parameters
- inputID
-
Type:
System::Int32
The ID of the IDTSInput100 object.
- virtualInput
-
Type:
Microsoft.SqlServer.Dts.Pipeline.Wrapper::IDTSVirtualInput100^
The IDTSVirtualInput100 object that is used to map the IDTSInputColumn100 object.
- lineageID
-
Type:
System::Int32
The LineageID of the IDTSVirtualInputColumn100 object.
- usageType
-
Type:
Microsoft.SqlServer.Dts.Pipeline.Wrapper::DTSUsageType
A value from the DTSUsageType enumeration.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper::IDTSInputColumn100^The IDTSInputColumn100 object whose UsageType is set.
Show: