Export (0) Print
Expand All

PublisherMonitor.StatusAndWarning Property

Gets status information and warnings for the monitored threshold metrics on the Publisher.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public ReplicationStatusAndWarning StatusAndWarning { get; }

If the ExcludeAnonymousSubscriptions property is set to true, anonymous subscriptions are excluded from the results.

The StatusAndWarning 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.

Retrieving the StatusAndWarning property is equivalent to executing sp_replmonitorhelppublisher (Transact-SQL).

Community Additions

ADD
Show:
© 2014 Microsoft