PublicationMonitor.EnumMonitorThresholds Method

Definition

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).

Applies to

See also