Compartir a través de


IDTSConnections100.Add Método

Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Sintaxis

'Declaración
Function Add ( _
    bstrConnectionType As String _
) As IDTSConnectionManager100
'Uso
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

Parámetros

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

Valor devuelto

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

Comentarios

For more information, see Connections.

Vea también

Referencia

IDTSConnections100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Wrapper