Aracılığıyla paylaş


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
type Connections = class
    inherit DTSReadOnlyCollectionBase
Public NotInheritable Class Connections
Inherits DTSReadOnlyCollectionBase
Inheritance

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]

Gets a ConnectionManager object from the Connections collection.

SyncRoot

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

(Inherited from DTSReadOnlyCollectionBase)

Methods

Add(String)

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

Contains(Object)

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

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 ConnectionEnumerator for use in iterating over the Connections collection.

GetManagedEnumerator(Object)

Gets the managed enumerator from an unmanaged enumerator.

(Inherited from DTSReadOnlyCollectionBase)
Join(ConnectionManager)

Joins a connection to the list of connections.

Remove(Object)

Removes a ConnectionManager object from the Connections collection.

Applies to