다음을 통해 공유


IDtsConnectionService.CreateConnection Method (String, ConnectionManagerUIArgs)

Creates a new connection using the connection type specified as a parameter.

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

구문

‘선언
Function CreateConnection ( _
    connectionType As String, _
    connectionUIArg As ConnectionManagerUIArgs _
) As ArrayList
ArrayList CreateConnection (
    string connectionType,
    ConnectionManagerUIArgs connectionUIArg
)
ArrayList^ CreateConnection (
    String^ connectionType, 
    ConnectionManagerUIArgs^ connectionUIArg
)
ArrayList CreateConnection (
    String connectionType, 
    ConnectionManagerUIArgs connectionUIArg
)
function CreateConnection (
    connectionType : String, 
    connectionUIArg : ConnectionManagerUIArgs
) : ArrayList

매개 변수

  • connectionType
    The type of connection to create.
  • connectionUIArg
    Provides information to allow you to create contextual information regarding the new connection manager. For more information, see ConnectionManagerUIArgs.

반환 값

An ArrayList containing the collection of connections created. An empty collection is returned if an error occurs, or if the user cancels the request.

주의

The implementation code can be written to provide a list of connections in the user interface for user convenience.

스레드 보안

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 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

IDtsConnectionService Interface
IDtsConnectionService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace