共用方式為


ForEachEnumeratorUI.Initialize Method

Definition

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

public:
 virtual void Initialize(Microsoft::SqlServer::Dts::Runtime::ForEachEnumeratorHost ^ FEEHost, IServiceProvider ^ serviceProvider, Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::Variables ^ variables);
public virtual void Initialize (Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorHost FEEHost, IServiceProvider serviceProvider, Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.Variables variables);
abstract member Initialize : Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorHost * IServiceProvider * Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.Variables -> unit
override this.Initialize : Microsoft.SqlServer.Dts.Runtime.ForEachEnumeratorHost * IServiceProvider * Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.Variables -> unit
Public Overridable Sub Initialize (FEEHost As ForEachEnumeratorHost, serviceProvider As IServiceProvider, connections As Connections, variables As Variables)

Parameters

serviceProvider
IServiceProvider

The IServiceProvider interface provided by the designer.

connections
Connections

The Connections collection for the ForEachEnumerator.

variables
Variables

The Variables collection for the ForEachEnumerator.

Implements

Remarks

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.

Applies to