Partager via


Méthode IDTSConnections100.Add

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Function Add ( _
    bstrConnectionType As String _
) As IDTSConnectionManager100
'Utilisation
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

Paramètres

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

Valeur de retour

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

Notes

For more information, see Connections.

Voir aussi

Référence

IDTSConnections100 Interface

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper