PublicationMonitor.EnumMonitorThresholds Method
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.
Returns the replication monitor thresholds defined for this publication.
public:
System::Collections::ArrayList ^ EnumMonitorThresholds();
public System.Collections.ArrayList EnumMonitorThresholds ();
member this.EnumMonitorThresholds : unit -> System.Collections.ArrayList
Public Function EnumMonitorThresholds () As ArrayList
Returns
A ArrayList of MonitorThreshold objects.
Remarks
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).