다음을 통해 공유


ConnectionInfos 클래스

Contains information about all the connections on the computer. The collection contains ConnectionInfo objects that provide the details about each connection. The collection is available using the Application class. This class cannot be inherited.

상속 계층

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
    Microsoft.SqlServer.Dts.Runtime..::..ConnectionInfos

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public NotInheritable Class ConnectionInfos _
    Inherits DTSReadOnlyCollectionBase
‘사용 방법
Dim instance As ConnectionInfos
public sealed class ConnectionInfos : DTSReadOnlyCollectionBase
public ref class ConnectionInfos sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type ConnectionInfos =  
    class
        inherit DTSReadOnlyCollectionBase
    end
public final class ConnectionInfos extends DTSReadOnlyCollectionBase

ConnectionInfos 유형에서 다음 멤버를 표시합니다.

속성

  이름 설명
공용 속성 Count Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (DTSReadOnlyCollectionBase에서 상속됨)
공용 속성 IsSynchronized Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (DTSReadOnlyCollectionBase에서 상속됨)
공용 속성 Item Retrieves the ConnectionInfo object from the collection by the name, index, ID, or identity.
공용 속성 SyncRoot Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (DTSReadOnlyCollectionBase에서 상속됨)

맨 위로 이동

메서드

  이름 설명
공용 메서드 Contains Returns a Boolean that indicates whether the ConnectionInfo items in the ConnectionInfos collection can be accessed by using the name, index, ID, or identity parameter as the index.
공용 메서드 CopyTo Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (DTSReadOnlyCollectionBase에서 상속됨)
보호된 메서드 CreateManagedObject 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
보호된 메서드 GetCount 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)
공용 메서드 GetEnumerator Returns a ConnectionInfoEnumerator that can iterate through the ConnectionInfos collection.
공용 메서드 GetHashCode (Object에서 상속됨)
보호된 메서드 GetManagedEnumerator 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

필드

  이름 설명
보호된 필드 m_unmanagedColl 인프라입니다. (DTSReadOnlyCollectionBase에서 상속됨)

맨 위로 이동

주의

The ConnectionInfo class contains the specific information about a connection on the computer, and the ConnectionInfos collection is the collection that contains the information about all the connections on the computer.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.