Метод ManagedComponentHost.HostSetUsageType
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Sets the usage type of the host.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline
Сборка: Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)
Синтаксис
'Декларация
Public Function HostSetUsageType ( _
wrapper As IDTSManagedComponentWrapper100, _
inputID As Integer, _
virtualInput As IDTSVirtualInput100, _
lineageID As Integer, _
usageType As DTSUsageType _
) As IDTSInputColumn100
'Применение
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
Dim inputID As Integer
Dim virtualInput As IDTSVirtualInput100
Dim lineageID As Integer
Dim usageType As DTSUsageType
Dim returnValue As IDTSInputColumn100
returnValue = instance.HostSetUsageType(wrapper, _
inputID, virtualInput, lineageID, _
usageType)
public IDTSInputColumn100 HostSetUsageType(
IDTSManagedComponentWrapper100 wrapper,
int inputID,
IDTSVirtualInput100 virtualInput,
int lineageID,
DTSUsageType usageType
)
public:
virtual IDTSInputColumn100^ HostSetUsageType(
IDTSManagedComponentWrapper100^ wrapper,
int inputID,
IDTSVirtualInput100^ virtualInput,
int lineageID,
DTSUsageType usageType
) sealed
abstract HostSetUsageType :
wrapper:IDTSManagedComponentWrapper100 *
inputID:int *
virtualInput:IDTSVirtualInput100 *
lineageID:int *
usageType:DTSUsageType -> IDTSInputColumn100
override HostSetUsageType :
wrapper:IDTSManagedComponentWrapper100 *
inputID:int *
virtualInput:IDTSVirtualInput100 *
lineageID:int *
usageType:DTSUsageType -> IDTSInputColumn100
public final function HostSetUsageType(
wrapper : IDTSManagedComponentWrapper100,
inputID : int,
virtualInput : IDTSVirtualInput100,
lineageID : int,
usageType : DTSUsageType
) : IDTSInputColumn100
Параметры
- wrapper
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The component wrapper.
- inputID
Тип: System.Int32
The input identifier.
- virtualInput
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100
The virtual input.
- lineageID
Тип: System.Int32
The lineage identifier.
- usageType
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType
The usage type.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100
The usage type of the host.