PublisherMonitorCollection Members

Represents a collection of PublisherMonitor objects.

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

Public Properties

  名称 Description
ms158294.pubproperty(zh-cn,SQL.90).gif Count  Gets the number of objects in the referenced collection. (inherited from ReplicationBaseCollection)
ms158294.pubproperty(zh-cn,SQL.90).gif IsSynchronized  Gets whether or not access to the collection is synchronized and is therefore thread-safe. (inherited from ReplicationBaseCollection)
ms158294.pubproperty(zh-cn,SQL.90).gif Item Overloaded. Gets a PublisherMonitor object in the collection by name or by index number.
ms158294.pubproperty(zh-cn,SQL.90).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from ReplicationBaseCollection)

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms158294.pubmethod(zh-cn,SQL.90).gif CopyTo Overloaded.  
ms158294.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms158294.pubmethod(zh-cn,SQL.90).gif GetEnumerator  Gets an enumerator that is used to iterate through the objects in a collection. (inherited from ReplicationBaseCollection)
ms158294.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms158294.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms158294.pubmethod(zh-cn,SQL.90).gifms158294.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms158294.pubmethod(zh-cn,SQL.90).gif Refresh  Refreshes the collection. (inherited from ReplicationBaseCollection)
ms158294.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms158294.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms158294.protmethod(zh-cn,SQL.90).gif InitList  (inherited from ReplicationBaseCollection )
ms158294.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

请参阅

参考

PublisherMonitorCollection Class
Microsoft.SqlServer.Replication Namespace

其他资源

How to: Programmatically Monitor Replication (RMO Programming)