Partilhar via


Classe MonitorThreshold

Represents a threshold metric used when monitoring a publication.

Hierarquia de herança

System. . :: . .Object
  Microsoft.SqlServer.Replication..::..MonitorThreshold

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

Sintaxe

'Declaração
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

O tipo MonitorThreshold expõe os membros a seguir.

Construtores

  Nome Descrição
Método público MonitorThreshold Creates a new instance of the MonitorThreshold class.

Início

Propriedades

  Nome Descrição
Propriedade pública Enabled Gets or sets whether the threshold is enabled.
Propriedade pública MetricId Gets or sets the ID value that uniquely identifies the threshold metric.
Propriedade pública MetricTitle Gets or sets the name of the threshold metric.
Propriedade pública ShouldAlert Gets or sets whether an alert is generated when the metric exceeds the threshold.
Propriedade pública UserData Gets or sets an object that allows users to attach their own data to this object.
Propriedade pública Value Gets or sets the threshold value.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

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.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.