Share via


PublicationMonitor.EnumMonitorThresholds Method

Definition

Returns the replication monitor thresholds defined for this publication.

C#
public System.Collections.ArrayList EnumMonitorThresholds();

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

Product Versions
SQL Server .NET SDK 2016

See also