다음을 통해 공유


IDTSConnections100.Add 메서드

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

Adds the connection manager of the specified connection type to collection.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Wrapper
어셈블리:  Microsoft.SqlServer.DTSRuntimeWrap(Microsoft.SqlServer.DTSRuntimeWrap.dll)

구문

‘선언
Function Add ( _
    bstrConnectionType As String _
) As IDTSConnectionManager100
‘사용 방법
Dim instance As IDTSConnections100 
Dim bstrConnectionType As String 
Dim returnValue As IDTSConnectionManager100 

returnValue = instance.Add(bstrConnectionType)
IDTSConnectionManager100 Add(
    string bstrConnectionType
)
IDTSConnectionManager100^ Add(
    [InAttribute] String^ bstrConnectionType
)
abstract Add : 
        bstrConnectionType:string -> IDTSConnectionManager100
function Add(
    bstrConnectionType : String
) : IDTSConnectionManager100

매개 변수

  • bstrConnectionType
    유형: System.String
    The connection type for the connection manager.

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The connection manager that was added to the collection.

주의

For more information, see Connections.

참고 항목

참조

IDTSConnections100 인터페이스

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스