다음을 통해 공유


ShouldAlert 속성

Gets or sets whether an alert is generated when the metric exceeds the threshold.

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public Property ShouldAlert As Boolean
    Get
    Set
‘사용 방법
Dim instance As MonitorThreshold
Dim value As Boolean

value = instance.ShouldAlert

instance.ShouldAlert = value
public bool ShouldAlert { get; set; }
public:
property bool ShouldAlert {
    bool get ();
    void set (bool value);
}
member ShouldAlert : bool with get, set
function get ShouldAlert () : boolean
function set ShouldAlert (value : boolean)

속성 값

유형: System. . :: . .Boolean
A Boolean value. If true, exceeding the threshold causes an alert. If false, no alert is raised when the threshold is exceeded.

주의

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