IDTSMultiInputComponentHost100.HostCanProcess 方法

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Indicates whether component host can process the specified number of inputs.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Sub HostCanProcess ( _
    pWrapper As IDTSManagedComponentWrapper100, _
    inputCount As Integer, _
    inputIDs As Integer(), _
    ByRef pCanProcess As Boolean() _
)
用法
Dim instance As IDTSMultiInputComponentHost100 
Dim pWrapper As IDTSManagedComponentWrapper100 
Dim inputCount As Integer 
Dim inputIDs As Integer()
Dim pCanProcess As Boolean()

instance.HostCanProcess(pWrapper, inputCount, _
    inputIDs, pCanProcess)
void HostCanProcess(
    IDTSManagedComponentWrapper100 pWrapper,
    int inputCount,
    int[] inputIDs,
    ref bool[] pCanProcess
)
void HostCanProcess(
    [InAttribute] IDTSManagedComponentWrapper100^ pWrapper, 
    [InAttribute] int inputCount, 
    [InAttribute] array<int>^ inputIDs, 
    array<bool>^% pCanProcess
)
abstract HostCanProcess : 
        pWrapper:IDTSManagedComponentWrapper100 * 
        inputCount:int * 
        inputIDs:int[] * 
        pCanProcess:bool[] byref -> unit
function HostCanProcess(
    pWrapper : IDTSManagedComponentWrapper100, 
    inputCount : int, 
    inputIDs : int[], 
    pCanProcess : boolean[]
)

参数

  • inputIDs
    类型:array<System.Int32[]
    When this method returns, contains an array of input identifiers. This parameter is passed uninitialized.
  • pCanProcess
    类型:array<System.Boolean[]%
    When this method returns, contains an array of Boolean that indicates if the host component can process the specified number of inputs. This parameter is passed uninitialized.

请参阅

参考

IDTSMultiInputComponentHost100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间