PublicationMonitor.EnumMonitorThresholds Method
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();
C#
public System.Collections.ArrayList EnumMonitorThresholds();
member this.EnumMonitorThresholds : unit -> System.Collections.ArrayList
Public Function EnumMonitorThresholds () As ArrayList
A ArrayList of MonitorThreshold objects.
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).
Product | Versions |
---|---|
SQL Server .NET SDK | 2016 |