共用方式為


ConnectionInfos Members

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.

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

Protected Fields

  名稱 Description
ms211672.protfield(zh-tw,SQL.90).gif m_unmanagedColl  (inherited from DTSReadOnlyCollectionBase )

頂端

Public Properties

  名稱 Description
ms211672.pubproperty(zh-tw,SQL.90).gif Count  Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (inherited from DTSReadOnlyCollectionBase)
ms211672.pubproperty(zh-tw,SQL.90).gif IsSynchronized  Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (inherited from DTSReadOnlyCollectionBase)
ms211672.pubproperty(zh-tw,SQL.90).gif Item Retrieves the ConnectionInfo object from the collection by the name, index, ID, or identity.
ms211672.pubproperty(zh-tw,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (inherited from DTSReadOnlyCollectionBase)

頂端

Public Methods

(see also Protected Methods )

  名稱 Description
ms211672.pubmethod(zh-tw,SQL.90).gif Contains 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.
ms211672.pubmethod(zh-tw,SQL.90).gif CopyTo  (inherited from DTSReadOnlyCollectionBase )
ms211672.pubmethod(zh-tw,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms211672.pubmethod(zh-tw,SQL.90).gif GetEnumerator Returns a ConnectionInfoEnumerator that can iterate through the ConnectionInfos collection.
ms211672.pubmethod(zh-tw,SQL.90).gif GetHashCode  (inherited from Object )
ms211672.pubmethod(zh-tw,SQL.90).gif GetType  (inherited from Object )
ms211672.pubmethod(zh-tw,SQL.90).gifms211672.static(zh-tw,SQL.90).gif ReferenceEquals  (inherited from Object )
ms211672.pubmethod(zh-tw,SQL.90).gif ToString  (inherited from Object )

頂端

Protected Methods

  名稱 Description
ms211672.protmethod(zh-tw,SQL.90).gif CreateManagedObject  (inherited from DTSReadOnlyCollectionBase )
ms211672.protmethod(zh-tw,SQL.90).gif Finalize  (inherited from Object )
ms211672.protmethod(zh-tw,SQL.90).gif GetCount  (inherited from DTSReadOnlyCollectionBase )
ms211672.protmethod(zh-tw,SQL.90).gif GetManagedEnumerator  (inherited from DTSReadOnlyCollectionBase )
ms211672.protmethod(zh-tw,SQL.90).gif MemberwiseClone  (inherited from Object )

頂端

請參閱

參考

ConnectionInfos Class
Microsoft.SqlServer.Dts.Runtime Namespace