Export (0) Print
Expand All

PublicationMonitor.EnumMonitorThresholds Method

Returns the replication monitor thresholds defined for this publication.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public ArrayList EnumMonitorThresholds()

Return Value

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

Community Additions

Show:
© 2015 Microsoft