PublicationMonitor.EnumMonitorThresholds Método
Returns the replication monitor thresholds defined for this publication.
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Sintaxis
'Declaración
Public Function EnumMonitorThresholds As ArrayList
'Uso
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
Valor devuelto
Tipo: System.Collections.ArrayList
A ArrayList of MonitorThreshold objects.
Comentarios
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).
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Replication
Otros recursos
Supervisar la replicación mediante programación (programación con RMO)