Udostępnij za pośrednictwem


ConnectionInfos Class

Definition

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.

public ref class ConnectionInfos sealed : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public sealed class ConnectionInfos : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
type ConnectionInfos = class
    inherit DTSReadOnlyCollectionBase
Public NotInheritable Class ConnectionInfos
Inherits DTSReadOnlyCollectionBase
Inheritance

Remarks

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.

Fields

m_unmanagedColl

The unmanaged collection.

(Inherited from DTSReadOnlyCollectionBase)

Properties

Count

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
IsSynchronized

Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe).

(Inherited from DTSReadOnlyCollectionBase)
Item[Object]

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.

(Inherited from DTSReadOnlyCollectionBase)

Methods

Contains(Object)

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(Array, Int32)

Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array.

(Inherited from DTSReadOnlyCollectionBase)
CreateManagedObject(Object)

Creates managed object from an unmanaged object.

(Inherited from DTSReadOnlyCollectionBase)
GetCount()

Retrieves the number of objects in the collection.

(Inherited from DTSReadOnlyCollectionBase)
GetEnumerator()

Returns a ConnectionInfoEnumerator that can iterate through the ConnectionInfos collection.

GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)

Applies to