共用方式為


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 命名空間