Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Associates a user interface with its task. Called by the client, which is usually the designer application.
Пространство имен: Microsoft.SqlServer.Dts.Runtime.Design
Сборка: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)
Синтаксис
'Декларация
Sub Initialize ( _
taskHost As TaskHost, _
serviceProvider As IServiceProvider _
)
void Initialize (
TaskHost taskHost,
IServiceProvider serviceProvider
)
void Initialize (
TaskHost^ taskHost,
IServiceProvider^ serviceProvider
)
void Initialize (
TaskHost taskHost,
IServiceProvider serviceProvider
)
function Initialize (
taskHost : TaskHost,
serviceProvider : IServiceProvider
)
Параметры
- taskHost
The TaskHost of the task.
- serviceProvider
The IServiceProvider interface provided by the designer.
Замечания
The first parameter, taskHost, can be used by the client code to access the Variables collection found on the task host, or to view the DtsErrors collection.
When an entry point to the task's user interface is invoked, the designer calls this Initialize method, implemented by the task user interface, and provides the TaskHost and the service provider as parameters. These objects are stored locally and used in any subsequent method calls.
Синхронизация потоков
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
IDtsTaskUI Interface
IDtsTaskUI Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace