다음을 통해 공유


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 네임스페이스