共用方式為


ManagedComponentHost.HostSetUsageType Method

Definition

Sets the usage type of the host.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInputColumn100 ^ HostSetUsageType(Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSManagedComponentWrapper100 ^ wrapper, int inputID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSVirtualInput100 ^ virtualInput, int lineageID, Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSUsageType usageType);
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100 HostSetUsageType (Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 wrapper, int inputID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100 virtualInput, int lineageID, Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType usageType);
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
override this.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 (wrapper As IDTSManagedComponentWrapper100, inputID As Integer, virtualInput As IDTSVirtualInput100, lineageID As Integer, usageType As DTSUsageType) As IDTSInputColumn100

Parameters

wrapper
IDTSManagedComponentWrapper100

The component wrapper.

inputID
Int32

The input identifier.

virtualInput
IDTSVirtualInput100

The virtual input.

lineageID
Int32

The lineage identifier.

usageType
DTSUsageType

The usage type.

Returns

The usage type of the host.

Implements

Applies to