次の方法で共有


MonitoringAlert.Severity Property

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the severity of the alert.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringAlert
Dim value As ManagementPackAlertSeverity

value = instance.Severity

Syntax

'Declaration
<DataMemberAttribute(IsRequired:=True)> _
Public Property Severity As ManagementPackAlertSeverity
[DataMemberAttribute(IsRequired=true)] 
public ManagementPackAlertSeverity Severity { get; }
[DataMemberAttribute(IsRequired=true)] 
public:
property ManagementPackAlertSeverity Severity {
    ManagementPackAlertSeverity get ();
}
/** @property */
public ManagementPackAlertSeverity get_Severity ()
public function get Severity () : ManagementPackAlertSeverity

Property Value

Returns a ManagementPackAlertSeverity enumeration value.

Example

For an example, see How to Display Operations Manager Operations Data.

Remarks

The severity is set when the Alert is generated.

Thread Safety

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

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringAlert Class
MonitoringAlert Members
Microsoft.EnterpriseManagement.Monitoring Namespace