ConnectionInfos ConnectionInfos ConnectionInfos ConnectionInfos Class


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


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.


Count Count Count Count

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
IsSynchronized IsSynchronized IsSynchronized IsSynchronized

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

(Inherited from DTSReadOnlyCollectionBase)
Item[Object] Item[Object] Item[Object] Item[Object]

Retrieves the ConnectionInfo object from the collection by the name, index, ID, or identity.

SyncRoot SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase.

(Inherited from DTSReadOnlyCollectionBase)


Contains(Object) Contains(Object) Contains(Object) 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) CopyTo(Array, Int32) CopyTo(Array, Int32) 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) CreateManagedObject(Object) CreateManagedObject(Object) CreateManagedObject(Object)

Creates managed object from an unmanaged object.

(Inherited from DTSReadOnlyCollectionBase)
GetCount() GetCount() GetCount() GetCount()

Retrieves the number of objects in the collection.

(Inherited from DTSReadOnlyCollectionBase)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns a ConnectionInfoEnumerator that can iterate through the ConnectionInfos collection.

GetManagedEnumerator(Object) GetManagedEnumerator(Object) GetManagedEnumerator(Object) GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)


m_unmanagedColl m_unmanagedColl m_unmanagedColl m_unmanagedColl

The unmanaged collection.

(Inherited from DTSReadOnlyCollectionBase)

Applies to