Metodo Initialize

Provides information to initialize the graphical user interface for the ForEachEnumerator.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Overridable Sub Initialize ( _
    FEEHost As ForEachEnumeratorHost, _
    serviceProvider As IServiceProvider, _
    connections As Connections, _
    variables As Variables _
)
'Utilizzo
Dim instance As ForEachEnumeratorUI
Dim FEEHost As ForEachEnumeratorHost
Dim serviceProvider As IServiceProvider
Dim connections As Connections
Dim variables As Variables

instance.Initialize(FEEHost, serviceProvider, _
    connections, variables)
public virtual void Initialize(
    ForEachEnumeratorHost FEEHost,
    IServiceProvider serviceProvider,
    Connections connections,
    Variables variables
)
public:
virtual void Initialize(
    ForEachEnumeratorHost^ FEEHost, 
    IServiceProvider^ serviceProvider, 
    Connections^ connections, 
    Variables^ variables
)
abstract Initialize : 
        FEEHost:ForEachEnumeratorHost * 
        serviceProvider:IServiceProvider * 
        connections:Connections * 
        variables:Variables -> unit 
override Initialize : 
        FEEHost:ForEachEnumeratorHost * 
        serviceProvider:IServiceProvider * 
        connections:Connections * 
        variables:Variables -> unit 
public function Initialize(
    FEEHost : ForEachEnumeratorHost, 
    serviceProvider : IServiceProvider, 
    connections : Connections, 
    variables : Variables
)

Parametri

Implementa

IDTSForEachEnumeratorUI. . :: . .Initialize(ForEachEnumeratorHost, IServiceProvider, Connections, Variables)

Osservazioni

The ForEachEnumeratorUI interface defines the collections needed by the ForEachEnumerator user interface to initialize and display the enumerator's user interface and populate any drop-downs, such as a drop-down that contains available connections and variables. The user interface calls the Initialize method, which provides the ForEachEnumeratorHost and Variables collection objects as parameters.