Metodo IDTSConnections100.Contains
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Determines whether the collection contains the connection manager with the specified key.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Function Contains ( _
Key As Object _
) As Boolean
'Utilizzo
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
Parametri
- Key
Tipo: System.Object
The name, identity, ID, or index of the connection manager to locate in the collection.
Valore restituito
Tipo: System.Boolean
true if the connection manager is found in the collection; otherwise, false.
Osservazioni
For more information, see Connections.