Partager via


Méthode PublicationMonitor.EnumMonitorThresholds

Returns the replication monitor thresholds defined for this publication.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Function EnumMonitorThresholds As ArrayList
'Utilisation
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

Valeur de retour

Type : System.Collections.ArrayList
A ArrayList of MonitorThreshold objects.

Notes

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

Voir aussi

Référence

PublicationMonitor Classe

Espace de noms Microsoft.SqlServer.Replication

Autres ressources

Surveiller la réplication par programme (programmation RMO)