Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the replication monitor thresholds defined for this publication.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)
Syntax
'Declaration
Public Function EnumMonitorThresholds As ArrayList
'Usage
Dim instance As PublicationMonitor
Dim returnValue As ArrayList
returnValue = instance.EnumMonitorThresholds()
public ArrayList EnumMonitorThresholds()
public:
ArrayList^ EnumMonitorThresholds()
member EnumMonitorThresholds : unit -> ArrayList
public function EnumMonitorThresholds() : ArrayList
Return Value
Type: System.Collections.ArrayList
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).
See Also
Reference
Microsoft.SqlServer.Replication Namespace