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에서 상속됨) | |
Equals | (Object에서 상속됨) | |
GetEnumerator | Returns a ConnectionInfoEnumerator that can iterate through the ConnectionInfos collection. | |
GetHashCode | (Object에서 상속됨) | |
GetType | (Object에서 상속됨) | |
ToString | (Object에서 상속됨) |
맨 위로 이동
주의
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) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.