Partilhar via


Connections Members

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

The following tables list the members exposed by the Connections type.

Protected Fields

  Name Description
ms211874.protfield(en-US,SQL.90).gif m_unmanagedColl  (inherited from DTSReadOnlyCollectionBase )

Top

Public Properties

  Name Description
ms211874.pubproperty(en-US,SQL.90).gif Count  Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (inherited from DTSReadOnlyCollectionBase)
ms211874.pubproperty(en-US,SQL.90).gif IsSynchronized  Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (inherited from DTSReadOnlyCollectionBase)
ms211874.pubproperty(en-US,SQL.90).gif Item Returns a ConnectionManager object from the Connections collection.
ms211874.pubproperty(en-US,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (inherited from DTSReadOnlyCollectionBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms211874.pubmethod(en-US,SQL.90).gif Add Adds a ConnectionManager object of the specified connection type to the Connections collection.
ms211874.pubmethod(en-US,SQL.90).gif Contains Returns a Boolean that indicates whether the ConnectionManager items in the collection can be accessed by using indexing without throwing an exception.
ms211874.pubmethod(en-US,SQL.90).gif CopyTo  (inherited from DTSReadOnlyCollectionBase )
ms211874.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms211874.pubmethod(en-US,SQL.90).gif GetEnumerator Returns a ConnectionEnumerator for use in iterating over the Connections collection.
ms211874.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms211874.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms211874.pubmethod(en-US,SQL.90).gifms211874.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms211874.pubmethod(en-US,SQL.90).gif Remove Removes a ConnectionManager object from the Connections collection.
ms211874.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms211874.protmethod(en-US,SQL.90).gif CreateManagedObject  (inherited from DTSReadOnlyCollectionBase )
ms211874.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms211874.protmethod(en-US,SQL.90).gif GetCount  (inherited from DTSReadOnlyCollectionBase )
ms211874.protmethod(en-US,SQL.90).gif GetManagedEnumerator  (inherited from DTSReadOnlyCollectionBase )
ms211874.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

See Also

Reference

Connections Class
Microsoft.SqlServer.Dts.Runtime Namespace