次の方法で共有


MSFT_SMStorageDiagnoseResult class

Represents the result of a Diagnose method call on a storage object.

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_SMStorageDiagnoseResult
{
  String                   FaultId;
  String                   FaultType;
  String                   FaultingObjectDescription;
  String                   FaultingObjectLocation;
  MSFT_SMStorageObject REF FaultingObject;
  String                   Reason;
  String                   RecommendedActions[];
  UInt16                   PerceivedSeverity;
  Datetime                 EventTime;
};

Members

The MSFT_SMStorageDiagnoseResult class has these types of members:

Properties

The MSFT_SMStorageDiagnoseResult class has these properties.

EventTime

Data type: Datetime

Access type: Read-only

The date and time of the fault. This value is set to NULL if the date or time is unknown.

FaultId

Data type: String

Access type: Read-only

A unique identifier of the fault.

FaultingObject

Data type: MSFT_SMStorageObject

Access type: Read-only

A reference to the storage object instance that has faulted.

FaultingObjectDescription

Data type: String

Access type: Read-only

Qualifiers: Required

The description of the object that triggered the fault.

FaultingObjectLocation

Data type: String

Access type: Read-only

The location of the object that triggered the fault.

FaultType

Data type: String

Access type: Read-only

A string that uniquely identifies the type of the fault.

PerceivedSeverity

Data type: UInt16

Access type: Read-only

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

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 occured, but it is too late to take remedial action.

Microsoft Reserved

This value is reserved for system use.

Reason

Data type: String

Access type: Read-only

The formatted message that describes the reason for the fault.

RecommendedActions

Data type: String array

Access type: Read-only

An array that contains descriptions of the recommended actions to take to resolve the cause of the fault.

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

Windows Storage Management WMI Provider