Share via


IDTSManagedComponentHost100.HostSetUsageType Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Sets the host usage type.

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

Syntax

'Declaration
Function HostSetUsageType ( _
    pWrapper As IDTSManagedComponentWrapper100, _
    lInputID As Integer, _
    pIDTSVirtualInputObject As IDTSVirtualInput100, _
    lLineageID As Integer, _
    eUsageType As DTSUsageType _
) As IDTSInputColumn100
'Usage
Dim instance As IDTSManagedComponentHost100 
Dim pWrapper As IDTSManagedComponentWrapper100 
Dim lInputID As Integer 
Dim pIDTSVirtualInputObject As IDTSVirtualInput100 
Dim lLineageID As Integer 
Dim eUsageType As DTSUsageType 
Dim returnValue As IDTSInputColumn100 

returnValue = instance.HostSetUsageType(pWrapper, _
    lInputID, pIDTSVirtualInputObject, _
    lLineageID, eUsageType)
IDTSInputColumn100 HostSetUsageType(
    IDTSManagedComponentWrapper100 pWrapper,
    int lInputID,
    IDTSVirtualInput100 pIDTSVirtualInputObject,
    int lLineageID,
    DTSUsageType eUsageType
)
IDTSInputColumn100^ HostSetUsageType(
    [InAttribute] IDTSManagedComponentWrapper100^ pWrapper, 
    [InAttribute] int lInputID, 
    [InAttribute] IDTSVirtualInput100^ pIDTSVirtualInputObject, 
    [InAttribute] int lLineageID, 
    [InAttribute] DTSUsageType eUsageType
)
abstract HostSetUsageType : 
        pWrapper:IDTSManagedComponentWrapper100 * 
        lInputID:int * 
        pIDTSVirtualInputObject:IDTSVirtualInput100 * 
        lLineageID:int * 
        eUsageType:DTSUsageType -> IDTSInputColumn100
function HostSetUsageType(
    pWrapper : IDTSManagedComponentWrapper100, 
    lInputID : int, 
    pIDTSVirtualInputObject : IDTSVirtualInput100, 
    lLineageID : int, 
    eUsageType : DTSUsageType
) : IDTSInputColumn100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100
The host usage type.

See Also

Reference

IDTSManagedComponentHost100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace