Connections Connections Connections Class

Definition

Contains a collection of ConnectionManager objects that are accessed through the Package object. This class cannot be inherited.

public ref class Connections sealed : Microsoft::SqlServer::Dts::Runtime::DTSReadOnlyCollectionBase
public sealed class Connections : Microsoft.SqlServer.Dts.Runtime.DTSReadOnlyCollectionBase
Public NotInheritable Class Connections
Inherits DTSReadOnlyCollectionBase
Inheritance

Properties

Count Count Count

Gets the number of elements contained in the DTSReadOnlyCollectionBase instance.

(Inherited from DTSReadOnlyCollectionBase)
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]

Gets a ConnectionManager object from the Connections collection.

SyncRoot SyncRoot SyncRoot

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

(Inherited from DTSReadOnlyCollectionBase)

Methods

Add(String) Add(String) Add(String)

Adds a ConnectionManager object of the specified connection type to the Connections collection.

Contains(Object) Contains(Object) Contains(Object)

Indicates whether the ConnectionManager items in the collection can be accessed by using indexing without throwing an exception.

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)

Creates managed object from an unmanaged object.

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

Retrieves the number of objects in the collection.

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

Returns a ConnectionEnumerator for use in iterating over the Connections collection.

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

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)
Join(ConnectionManager) Join(ConnectionManager) Join(ConnectionManager)

Joins a connection to the list of connections.

Remove(Object) Remove(Object) Remove(Object)

Removes a ConnectionManager object from the Connections collection.

Fields

m_unmanagedColl m_unmanagedColl m_unmanagedColl

The unmanaged collection.

(Inherited from DTSReadOnlyCollectionBase)

Applies to