MonitorThreshold 類別
Represents a threshold metric used when monitoring a publication.
繼承階層
System.Object
Microsoft.SqlServer.Replication.MonitorThreshold
命名空間: Microsoft.SqlServer.Replication
組件: Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)
語法
'宣告
Public NotInheritable Class MonitorThreshold
'用途
Dim instance As MonitorThreshold
public sealed class MonitorThreshold
public ref class MonitorThreshold sealed
[<SealedAttribute>]
type MonitorThreshold = class end
public final class MonitorThreshold
MonitorThreshold 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
MonitorThreshold | Creates a new instance of the MonitorThreshold class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
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. |
上層
方法
名稱 | 說明 | |
---|---|---|
Equals | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
ToString | (繼承自 Object。) |
上層
備註
The following metric names are supported.
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.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
請參閱
參考
Microsoft.SqlServer.Replication 命名空間