Windows Dev Center

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

DatabaseGuid
Data type: string
Access type: Read-only
Qualifiers: DisplayName ("Database GUID") , MaxLen (36) , MinLen (36)

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.

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)
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, 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 2003 R2

End of client support

Windows Vista

Namespace

Root\MicrosoftDfs

MOF

DfsRProvs.mof

See also

CIM_LogicalElement
DFSR WMI Classes

 

 

Show:
© 2015 Microsoft