Export (0) Print
Expand All

PipelineComponent.SetUsageType Method

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

This API is not CLS-compliant. The CLS-compliant alternative is .

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

'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)

Parameters

inputID
Type: 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: Int32
The LineageID of the IDTSVirtualInputColumn100 object.
usageType
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType
A value from the DTSUsageType enumeration.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2015 Microsoft