Bagikan melalui


ManagedComponentHost.HostCanProcess Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Specifies whether the managed component host can process.

Namespace:  Microsoft.SqlServer.Dts.Pipeline
Assembly:  Microsoft.SqlServer.PipelineHost (in Microsoft.SqlServer.PipelineHost.dll)

Syntax

'Declaration
Public Sub HostCanProcess ( _
    wrapper As IDTSManagedComponentWrapper100, _
    inputCount As Integer, _
    inputIDs As Integer(), _
    ByRef canProcess As Boolean() _
)
'Usage
Dim instance As ManagedComponentHost 
Dim wrapper As IDTSManagedComponentWrapper100 
Dim inputCount As Integer 
Dim inputIDs As Integer()
Dim canProcess As Boolean()

instance.HostCanProcess(wrapper, inputCount, _
    inputIDs, canProcess)
public void HostCanProcess(
    IDTSManagedComponentWrapper100 wrapper,
    int inputCount,
    int[] inputIDs,
    ref bool[] canProcess
)
public:
virtual void HostCanProcess(
    IDTSManagedComponentWrapper100^ wrapper, 
    int inputCount, 
    array<int>^ inputIDs, 
    array<bool>^% canProcess
) sealed
abstract HostCanProcess : 
        wrapper:IDTSManagedComponentWrapper100 * 
        inputCount:int * 
        inputIDs:int[] * 
        canProcess:bool[] byref -> unit  
override HostCanProcess : 
        wrapper:IDTSManagedComponentWrapper100 * 
        inputCount:int * 
        inputIDs:int[] * 
        canProcess:bool[] byref -> unit
public final function HostCanProcess(
    wrapper : IDTSManagedComponentWrapper100, 
    inputCount : int, 
    inputIDs : int[], 
    canProcess : boolean[]
)

Parameters

  • canProcess
    Type: array<System.Boolean[]%
    True if the managed component host can process; otherwise, false.

Implements

IDTSMultiInputComponentHost100.HostCanProcess(IDTSManagedComponentWrapper100, Int32, array<Int32[], array<Boolean[]%)

See Also

Reference

ManagedComponentHost Class

Microsoft.SqlServer.Dts.Pipeline Namespace