Méthode IDTSManagedComponentHost100.HostSetUsageType
Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.
Sets the host usage type.
Espace de noms : Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly : Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)
Syntaxe
'Déclaration
Function HostSetUsageType ( _
pWrapper As IDTSManagedComponentWrapper100, _
lInputID As Integer, _
pIDTSVirtualInputObject As IDTSVirtualInput100, _
lLineageID As Integer, _
eUsageType As DTSUsageType _
) As IDTSInputColumn100
'Utilisation
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
Paramètres
- pWrapper
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- lInputID
Type : System.Int32
The input identifier.
- pIDTSVirtualInputObject
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSVirtualInput100
The DTS virtual input object.
- lLineageID
Type : System.Int32
The lineage identifier.
- eUsageType
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSUsageType
The usage type.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInputColumn100
The host usage type.