다음을 통해 공유


IDtsComponentUI.Initialize Method

Called to initialize the user interface of the component. This method is not CLS-compliant.

네임스페이스: Microsoft.SqlServer.Dts.Pipeline.Design
어셈블리: Microsoft.SqlServer.Dts.Design (in microsoft.sqlserver.dts.design.dll)

구문

‘선언
Sub Initialize ( _
    dtsComponentMetadata As IDTSComponentMetaData90, _
    serviceProvider As IServiceProvider _
)
void Initialize (
    IDTSComponentMetaData90 dtsComponentMetadata,
    IServiceProvider serviceProvider
)
void Initialize (
    IDTSComponentMetaData90^ dtsComponentMetadata, 
    IServiceProvider^ serviceProvider
)
void Initialize (
    IDTSComponentMetaData90 dtsComponentMetadata, 
    IServiceProvider serviceProvider
)
function Initialize (
    dtsComponentMetadata : IDTSComponentMetaData90, 
    serviceProvider : IServiceProvider
)

매개 변수

주의

업데이트된 텍스트:2005년 12월 5일

This method is called when a component is initially added to the SSIS Designer surface, and prior to the New method. It is also called when a component is edited, but prior to the Edit method.

Cache the object reference received in the dtsComponentMetadata parameter and use it in the Edit method to make changes to your component as the user interacts with your user interface. Typically, you must also pass this object reference to any supporting classes that you may create, such as a form class, to implement editing functionality for a component.

The serviceProvider parameter provides access to the services of the SSIS Designer. The following list shows the available services in the SSIS Designer.

Service

Description

IDtsClipboardService

Used to determine whether the component was generated as part of a copy/paste or cut/paste operation.

IDtsConnectionService

Used to access existing and create new connections in the package.

IErrorCollectionService

Used to capture events from data flow components when you need to capture all the errors and warnings raised by the component instead of receiving only the last error or warning.

IDtsVariableService

Used to access existing or to create new variables in the package.

These services provide component developers the ability to access and create objects in the package in which the component is loaded.

스레드 보안

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.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

IDtsComponentUI Interface
IDtsComponentUI Members
Microsoft.SqlServer.Dts.Pipeline.Design Namespace