Compartilhar via


Método HostSetUsageType

Essa API oferece suporte à infraestrutura do e não se destina a ser usada diretamente no seu código.

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

Sintaxe

'Declaração
Function HostSetUsageType ( _
    pWrapper As IDTSManagedComponentWrapper100, _
    lInputID As Integer, _
    pIDTSVirtualInputObject As IDTSVirtualInput100, _
    lLineageID As Integer, _
    eUsageType As DTSUsageType _
) As IDTSInputColumn100
'Uso
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