次の方法で共有


MonitoringAlert.Severity Property

 

Applies To: Operations Manager for System Center 2012

Gets the severity of the alert.

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

Syntax

[DataMemberAttribute(IsRequired = true)]
public ManagementPackAlertSeverity Severity { get; internal set; }
public:
[DataMemberAttribute(IsRequired = true)]
property ManagementPackAlertSeverity Severity {
    ManagementPackAlertSeverity get();
    internal: void set(ManagementPackAlertSeverity value);
}
[<DataMemberAttribute(IsRequired = true)>]
member Severity : ManagementPackAlertSeverity with get, internal set
<DataMemberAttribute(IsRequired := True)>
Public Property Severity As ManagementPackAlertSeverity
    Get
    Friend Set
End Property

Property Value

Type: Microsoft.EnterpriseManagement.Configuration.ManagementPackAlertSeverity

Returns a ManagementPackAlertSeverity enumeration value.

Remarks

The severity is set when the Alert is generated.

Examples

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

See Also

MonitoringAlert Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top