Gets status information and warnings for the monitored threshold metrics on the Publisher.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
If the ExcludeAnonymousSubscriptions property is set to true, anonymous subscriptions are excluded from the results.
The 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 property is equivalent to executing sp_replmonitorhelppublisher (Transact-SQL).