PublicationMonitor.EnumMonitorThresholds Method ()
Applies To: SQL Server 2016 Preview
Returns the replication monitor thresholds defined for this publication.
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
The EnumMonitorThresholds method can only be called by members of the db_owner or replmonitor fixed database roles on the distribution database.
Calling EnumMonitorThresholds is equivalent to executing sp_replmonitorhelppublicationthresholds (Transact-SQL).