共用方式為


IDTSManagedComponentHost100.HostSetUsageType Method

Definition

Sets the host usage type.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInputColumn100 ^ HostSetUsageType(Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSManagedComponentWrapper100 ^ pWrapper, int lInputID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSVirtualInput100 ^ pIDTSVirtualInputObject, int lLineageID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSUsageType eUsageType);
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100 HostSetUsageType (Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 pWrapper, int lInputID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100 pIDTSVirtualInputObject, int lLineageID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType eUsageType);
abstract member HostSetUsageType : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 * int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100 * int * Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100
Public Function HostSetUsageType (pWrapper As IDTSManagedComponentWrapper100, lInputID As Integer, pIDTSVirtualInputObject As IDTSVirtualInput100, lLineageID As Integer, eUsageType As DTSUsageType) As IDTSInputColumn100

Parameters

pWrapper
IDTSManagedComponentWrapper100

The wrapper used.

lInputID
Int32

The input identifier.

pIDTSVirtualInputObject
IDTSVirtualInput100

The DTS virtual input object.

lLineageID
Int32

The lineage identifier.

eUsageType
DTSUsageType

The usage type.

Returns

The host usage type.

Applies to