Initialize 方法
Provides information to initialize the graphical user interface for the ForEachEnumerator.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Overridable Sub Initialize ( _
FEEHost As ForEachEnumeratorHost, _
serviceProvider As IServiceProvider, _
connections As Connections, _
variables As Variables _
)
'用途
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
)
參數
- FEEHost
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .ForEachEnumeratorHost
The ForEachEnumeratorHost.
- serviceProvider
型別:System. . :: . .IServiceProvider
The IServiceProvider interface provided by the designer.
- connections
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
The Connections collection for the ForEachEnumerator.
- variables
型別:Microsoft.SqlServer.Dts.Runtime. . :: . .Variables
The Variables collection for the ForEachEnumerator.
實作
備註
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.