Clase MonitorThreshold
Represents a threshold metric used when monitoring a publication.
Jerarquía de herencia
System. . :: . .Object
Microsoft.SqlServer.Replication..::..MonitorThreshold
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Sintaxis
'Declaración
Public NotInheritable Class MonitorThreshold
'Uso
Dim instance As MonitorThreshold
public sealed class MonitorThreshold
public ref class MonitorThreshold sealed
[<SealedAttribute>]
type MonitorThreshold = class end
public final class MonitorThreshold
El tipo MonitorThreshold expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
MonitorThreshold | Creates a new instance of the MonitorThreshold class. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Enabled | Gets or sets whether the threshold is enabled. | |
MetricId | Gets or sets the ID value that uniquely identifies the threshold metric. | |
MetricTitle | Gets or sets the name of the threshold metric. | |
ShouldAlert | Gets or sets whether an alert is generated when the metric exceeds the threshold. | |
UserData | Gets or sets an object that allows users to attach their own data to this object. | |
Value | Gets or sets the threshold value. |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetType | (Se hereda de Object.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Object.) |
Arriba
Comentarios
The following metric names are supported.
MetricID()()()() |
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.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también