Freigeben über


DfsrVolumeInfo class

This class provides statistical and operational information for each volume that has or had replicated folders.

Syntax

[Dynamic, Provider("DfsrMonitorProv")]
class DfsrVolumeInfo : CIM_LogicalElement
{
  string       Caption;
  string       Description;
  datetime REF InstallDate;
  string       Name;
  string       Status;
  string       VolumeGuid;
  uint64       VolumeSerialNumber;
  string       VolumePath;
  string       DatabaseGuid;
  uint8        State;
  datetime     LastConfigChangeTime;
  uint32       LastErrorCode;
  uint32       LastErrorMessageId;
};

Members

The DfsrVolumeInfo class has these types of members:

Properties

The DfsrVolumeInfo class has these properties.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

A short textual description of the object. This property is inherited from CIM_ManagedSystemElement.

DatabaseGuid

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Database GUID"), MaxLen (36), MinLen (36)

The identifier of the database on this volume.

Description

Data type: string

Access type: Read-only

A textual description of the object. This property is inherited from CIM_ManagedSystemElement.

InstallDate

Data type: datetime

Access type: Read-only

Indicates when the object was installed. Lack of a value does not indicate that the object is not installed. This property is inherited from CIM_ManagedSystemElement.

LastConfigChangeTime

Data type: datetime

Access type: Read-only

Qualifiers: DisplayName ("Last Configuration Change Time")

The last time the volume configuration was changed.

LastErrorCode

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Last Error Code")

The last error code.

Success (0)

LastErrorMessageId

Data type: uint32

Access type: Read-only

Qualifiers: DisplayName ("Last Error Message ID")

Event log message identifier that corresponds to the last error code.

Success (0)

Name

Data type: string

Access type: Read-only

Label by which the object is known. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.

State

Data type: uint8

Access type: Read-only

Qualifiers: DisplayName ("Volume State")

The current volume state.

Initialized (0)

Shutting Down (1)

In Error (2)

Auto Recovery (3)

Status

Data type: string

Access type: Read-only

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

VolumeGuid

Data type: string

Access type: Read-only

Qualifiers: Key, DisplayName ("Volume GUID"), MaxLen (36), MinLen (36)

The volume identifier.

VolumePath

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Replication Group GUID")

The volume path format; this is either "\\.\C:" or "\\?\volume{GUID}".

VolumeSerialNumber

Data type: uint64

Access type: Read-only

Qualifiers: DisplayName ("Volume Serial Number")

The volume serial number.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
End of client support
Windows Vista
Namespace
Root\MicrosoftDfs
MOF
DfsRProvs.mof
DLL
DfsRWmiV2.dll

See also

CIM_LogicalElement

DFSR WMI Classes