Compartir a través de


MSFT_DfsrVolumeInfo class

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

Syntax

[ClassVersion("1.0.0"), dynamic, provider("DfsrWMIV2"), AMENDMENT]
class MSFT_DfsrVolumeInfo
{
  string   VolumeGuid;
  uint64   VolumeSerialNumber;
  string   VolumePath;
  string   DatabaseGuid;
  uint8    State;
  datetime LastConfigChangeTime;
  uint32   LastErrorCode;
  uint32   LastErrorMessageId;
};

Members

The MSFT_DfsrVolumeInfo class has these types of members:

Properties

The MSFT_DfsrVolumeInfo class has these properties.

DatabaseGuid

Data type: string

Access type: Read-only

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

The identifier of the database on this volume.

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.

(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.

(0)

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)

VolumeGuid

Data type: string

Access type: Read-only

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

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
None supported
Minimum supported server
Windows Server 2012 R2
Namespace
Root\Microsoft\Windows\Dfsr
MOF
Dfsrwmiv2.mof
DLL
DfsRWmiV2.dll

See also

DFSR WMI Classes