Поделиться через


Метод IDTSConnections100.Contains

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Сборка:  Microsoft.SqlServer.DTSRuntimeWrap (в Microsoft.SqlServer.DTSRuntimeWrap.dll)

Синтаксис

'Декларация
Function Contains ( _
    Key As Object _
) As Boolean
'Применение
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

Параметры

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

Возвращаемое значение

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

Замечания

For more information, see Connections.

См. также

Справочник

IDTSConnections100 Интерфейс

Пространство имен Microsoft.SqlServer.Dts.Runtime.Wrapper