HostSetUsageType 方法
此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Function HostSetUsageType ( _
pWrapper As IDTSManagedComponentWrapper100, _
lInputID As Integer, _
pIDTSVirtualInputObject As IDTSVirtualInput100, _
lLineageID As Integer, _
eUsageType As DTSUsageType _
) As IDTSInputColumn100
用法
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
参数
- lInputID
类型:System. . :: . .Int32
- pIDTSVirtualInputObject
类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSVirtualInput100
- lLineageID
类型:System. . :: . .Int32