SetUsageType 方法
Creates an IDTSInputColumn100 object in the IDTSInputColumnCollection100 of the component and sets the UsageType property of the column.
此 API 不符合 CLS 標準。 符合 CLS 標準的替代項目是 。
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function SetUsageType ( _
inputID As Integer, _
virtualInput As IDTSVirtualInput100, _
lineageID As Integer, _
usageType As DTSUsageType _
) As IDTSInputColumn100
'用途
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
參數
- inputID
型別:System. . :: . .Int32
The ID of the IDTSInput100 object.
- virtualInput
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSVirtualInput100
The IDTSVirtualInput100 object that is used to map the IDTSInputColumn100 object.
- lineageID
型別:System. . :: . .Int32
The LineageID of the IDTSVirtualInputColumn100 object.
- usageType
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .DTSUsageType
A value from the DTSUsageType enumeration.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSInputColumn100
The IDTSInputColumn100 object whose UsageType is set.