PublisherMonitor.PublicationMonitors Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of PublicationMonitor objects, each of which represents a publication defined at the Publisher being monitored.
public:
property Microsoft::SqlServer::Replication::PublicationMonitorCollection ^ PublicationMonitors { Microsoft::SqlServer::Replication::PublicationMonitorCollection ^ get(); };
public Microsoft.SqlServer.Replication.PublicationMonitorCollection PublicationMonitors { get; }
member this.PublicationMonitors : Microsoft.SqlServer.Replication.PublicationMonitorCollection
Public ReadOnly Property PublicationMonitors As PublicationMonitorCollection
Property Value
A PublicationMonitorCollection object.
Remarks
A PublicationMonitor object in the collection can be accessed from PublicationMonitors using an [Int32] index value or using a [String,String] index that is the Name property and the DatabaseName property of the article.
The PublicationMonitors property can only be retrieved by members of the sysadmin
fixed server role at the Distributor or by members of the db_owner
or replmonitor
fixed database roles on the distribution database