Freigeben über


IDTSConnections100.Add-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Function Add ( _
    bstrConnectionType As String _
) As IDTSConnectionManager100
'Usage
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

Parameter

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

Rückgabewert

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

Hinweise

For more information, see Connections.

Siehe auch

Verweis

IDTSConnections100 Schnittstelle

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace