Compartir a través de


IDTSConnections100.Contains Método

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

Determines whether the collection contains the connection manager with the specified key.

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

Sintaxis

'Declaración
Function Contains ( _
    Key As Object _
) As Boolean
'Uso
Dim instance As IDTSConnections100 
Dim Key As Object 
Dim returnValue As Boolean 

returnValue = instance.Contains(Key)
bool Contains(
    Object Key
)
bool Contains(
    [InAttribute] Object^ Key
)
abstract Contains : 
        Key:Object -> bool
function Contains(
    Key : Object
) : boolean

Parámetros

  • Key
    Tipo: System.Object
    The name, identity, ID, or index of the connection manager to locate in the collection.

Valor devuelto

Tipo: System.Boolean
true if the connection manager is found in the collection; otherwise, false.

Comentarios

For more information, see Connections.

Vea también

Referencia

IDTSConnections100 Interfaz

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