Share via


AlertsProperty Class

 

Represents the properties for a health alert.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.Devices.DeviceProperty
    Microsoft.WindowsServerSolutions.Common.Devices.AlertsProperty

Syntax

[DataContractAttribute]
public sealed class AlertsProperty : DeviceProperty
[DataContractAttribute]
public ref class AlertsProperty sealed : DeviceProperty
<DataContractAttribute>
Public NotInheritable Class AlertsProperty
    Inherits DeviceProperty

Properties

Name Description
System_CAPS_pubproperty CriticalAlertCount

Gets the number of critical alerts.

System_CAPS_pubproperty InformationAlertCount

Gets the number of informational alerts.

System_CAPS_pubproperty PropertyName

Gets the name of the property.(Inherited from DeviceProperty.)

System_CAPS_pubproperty Timestamp

Gets the timestamp for the device.(Inherited from DeviceProperty.)

System_CAPS_pubproperty TotalAlertCount

Gets the total number of alerts.

System_CAPS_pubproperty WarningAlertCount

Gets the number of warning alerts.

Methods

Name Description
System_CAPS_pubmethod Equals(DeviceProperty)

Compares one AlertsProperty object to another AlertsProperty object.(Overrides DeviceProperty.Equals(DeviceProperty).)

System_CAPS_pubmethod Equals(Object)

Calls the Equals method with the specified object.(Overrides Object.Equals(Object).)

System_CAPS_pubmethod GetHashCode()

Returns a hash code for the AlertsProperty object.(Overrides Object.GetHashCode().)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a string representation of the properties.(Overrides Object.ToString().)

System_CAPS_pubmethod UpdateDeviceInfo(DeviceInfo)

Do not use this method. Updates the device information.

Remarks

This class is used by the CreateAlertsProperty method.

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.

See Also

Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top