Partager via


MSFT_SMStorageDepartureEvent class

Represents a storage departure event. Storage departure events are used whenever a storage object is removed or deleted.

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_SMStorageDepartureEvent : MSFT_SMStorageEvent
{
  string               StorageSubsystemObjectId;
  MSFT_SMStorageObject SourceInstance;
  string               Description;
  datetime             EventTime;
  uint16               PerceivedSeverity;
  string               SourceClassName;
};

Members

The MSFT_SMStorageDepartureEvent class has these types of members:

Properties

The MSFT_SMStorageDepartureEvent class has these properties.

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.

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.

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