Freigeben über


MonitorThreshold-Klasse

Represents a threshold metric used when monitoring a publication.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Replication.MonitorThreshold

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

Syntax

'Declaration
Public NotInheritable Class MonitorThreshold
'Usage
Dim instance As MonitorThreshold
public sealed class MonitorThreshold
public ref class MonitorThreshold sealed
[<SealedAttribute>]
type MonitorThreshold =  class end
public final class MonitorThreshold

Der MonitorThreshold-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode MonitorThreshold Creates a new instance of the MonitorThreshold class.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Enabled Gets or sets whether the threshold is enabled.
Öffentliche Eigenschaft MetricId Gets or sets the ID value that uniquely identifies the threshold metric.
Öffentliche Eigenschaft MetricTitle Gets or sets the name of the threshold metric.
Öffentliche Eigenschaft ShouldAlert Gets or sets whether an alert is generated when the metric exceeds the threshold.
Öffentliche Eigenschaft UserData Gets or sets an object that allows users to attach their own data to this object.
Öffentliche Eigenschaft Value Gets or sets the threshold value.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

The following metric names are supported.

MetricID

MetricTitle

Description

1

expiration

Monitors for imminent expiration of subscriptions to transactional publications.

2

latency

Monitors for the performance of subscriptions to transactional publications.

4

mergeexpiration

Monitors for imminent expiration of subscriptions to merge publications.

5

mergeslowrunduration

Monitors the duration of merge synchronizations over low-bandwidth (dialup) connections.

6

mergefastrunduration

Monitors the duration of merge synchronizations over high-bandwidth (LAN) connections.

7

mergefastrunspeed

Monitors the synchronization rate of merge synchronizations over high-bandwidth (LAN) connections.

8

mergeslowrunspeed

Monitors the synchronization rate of merge synchronizations over low-bandwidth (dialup) connections.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace

EnumMonitorThresholds

PublicationMonitor

Andere Ressourcen

Programmgesteuertes Überwachen der Replikation (RMO-Programmierung)