Metoda PublicationMonitor.EnumMonitorThresholds
Zwraca monitor replikacja progów określonych dla tej publikacja.
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)
Składnia
'Deklaracja
Public Function EnumMonitorThresholds As ArrayList
'Użycie
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
Wartość zwracana
Typ: System.Collections.ArrayList
A ArrayList of MonitorThreshold objects.
Uwagi
EnumMonitorThresholds Metoda może być wywoływana tylko przez członków db_owner lub replmonitor ról stałej bazy danych baza danych dystrybucji.
Wywołanie EnumMonitorThresholds jest równoważne wykonywanie sp_replmonitorhelppublicationthresholds (języka Transact-SQL).
Ten obszar nazw, klasy lub element członkowski jest obsługiwany tylko w wersja 2.0.NET Framework.
Zobacz także