Compartir a través de


MSFT_SMStorageHealthStatusChangeEvent class

Represents a health status change event for a storage system.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Indication, provider("WMIStorage"), AMENDMENT]
class MSFT_SMStorageHealthStatusChangeEvent : MSFT_SMStorageEvent
{
  string               StorageSubsystemObjectId;
  MSFT_SMStorageObject SourceInstance;
  string               Description;
  datetime             EventTime;
  uint16               PerceivedSeverity;
  string               SourceClassName;
  MSFT_SMSystem        StorageSystem;
  UInt16               PreviousHealthStatus;
  UInt16               CurrentHealthStatus;
};

Members

The MSFT_SMStorageHealthStatusChangeEvent class has these types of members:

Properties

The MSFT_SMStorageHealthStatusChangeEvent class has these properties.

CurrentHealthStatus

Data type: UInt16

Access type: Read-only

The health status of the storage system object.

The possible values are:

Healthy (0)

Warning (1)

Unhealthy (2)

Unknown (5)

Description

Data type: string

Access type: Read-only

A brief description of the event, provided by the storage subsystem.

This property is inherited from MSFT_SMStorageEvent.

EventTime

Data type: datetime

Access type: Read-only

The date and time in which the event that triggered this event occurred.

This property is inherited from MSFT_SMStorageEvent.

PerceivedSeverity

Data type: uint16

Access type: Read-only

The perceived severity of the event from the notifier's point of view.

This property is inherited from MSFT_SMStorageEvent.

The possible values are:

Unknown (0)

The severity is unknown or indeterminate.

Information (2)

The event is for informative purposes.

Degraded/Warning (3)

Action may be required by the user.

Minor (4)

Action is needed, but the situation is not serious at this time.

Major (5)

Immediate action is needed.

Critical (6)

Immediate action is needed and the scope of the issue is broad.

Fatal/NonRecoverable (7)

An error has occurred, but it is too late to take remedial action.

This value is reserved for system use.

PreviousHealthStatus

Data type: UInt16

Access type: Read-only

The health status of the storage system object before the event occurred.

The possible values are:

Healthy (0)

Warning (1)

Unhealthy (2)

Unknown (5)

SourceClassName

Data type: string

Access type: Read-only

The class of the object that caused the event. For example, if the object causing the event is a storage pool, this property should be set to "MSFT_SMStoragePool" (not the vendor-derived class).

This property is inherited from MSFT_SMStorageEvent.

SourceInstance

Data type: MSFT_SMStorageObject

Access type: Read-only

Qualifiers: EmbeddedInstance ("MSFT_SMStorageObject")

The MSFT_SMStorageObject object that caused the event.

This property is inherited from MSFT_SMStorageEvent.

StorageSubsystemObjectId

Data type: string

Access type: Read-only

Qualifiers: Required

The ID of the storage object that caused the event.

This property is inherited from MSFT_SMStorageEvent.

StorageSystem

Data type: MSFT_SMSystem

Access type: Read/write

The storage system object that is associated with the event.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\Microsoft\Windows\Storage\SM
MOF
MsftStrgMan.mof
DLL
StorageService.dll

See also

MSFT_SMStorageEvent

Windows Storage Management WMI Provider