MSFT_DfsrVolumeConfig class

This class stores the per-volume settings for each volume on the system that hosts one or more replicated folders.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

class MSFT_DfsrVolumeConfig
{
  string   VolumeGuid;
  uint64   SerialNumber;
  string   VolumePath;
  uint32   LastChangeNumber;
  datetime LastChangeTime;
  string   LastChangeSource;
  string   DatabasePath;
  uint32   MinNtfsJournalSizeInMb;
  uint32   UsnCheckPoint;
  uint32   MaxJetSessions;
  boolean  IsClustered;
  string   ClusterDiskResName;
};

Members

The MSFT_DfsrVolumeConfig class has these types of members:

Methods

The MSFT_DfsrVolumeConfig class has these methods.

MethodDescription
ExportDBClone

Starts the process of exporting the Distributed File System Replication (DFSR) database for the specified volume.

GetDBCloneState

Returns the current state of the database export or import process.

ImportDBClone

Starts the process of importing the specified Distributed File System Replication (DFSR) volume database.

ResetDBClone

Stops the current database export or import operation and returns the database to its previous state.

ResumeReplication

Resumes replication for the volume.

 

Properties

The MSFT_DfsrVolumeConfig class has these properties.

ClusterDiskResName
Data type: string
Access type: Read-only

If the volume is a cluster shared volume, this property specifies the physical disk resource name.

DatabasePath
Data type: string
Access type: Read-only
Qualifiers: MaxLen (2600)

The full path to the database. This database contains metadata about the files and folders in the replicated folder.

IsClustered
Data type: boolean
Access type: Read-only

This property is TRUE if the volume is a cluster shared volume; it is FALSE if it is a local volume.

LastChangeNumber
Data type: uint32
Access type: Read-only
Qualifiers: MinValue (1)

The configuration sequence number. This value is incremented each time the volume configuration changes.

LastChangeSource
Data type: string
Access type: Read-only

Information about the originator of the last configuration change. The originator is the name of the domain controller that provided the configuration information.

LastChangeTime
Data type: datetime
Access type: Read-only

The time stamp of the last configuration change.

MaxJetSessions
Data type: uint32
Access type: Read-only
Qualifiers: MinValue (16)

The maximum number of concurrent Jet database sessions for this volume. Every volume has its own database, and therefore this parameter is defined per-volume.

MinNtfsJournalSizeInMb
Data type: uint32
Access type: Read/write
Qualifiers: MinValue (4) , MaxValue (10000) , Units ("MB")

The minimum size of the journal to allocate on the volume, in megabytes. If no journal exists, the DFSR creates a new journal with the specified size; otherwise, it increases the existing journal size to this minimum size. The DFSR does not change the existing journal size if it is already larger than the new minimum size.

SerialNumber
Data type: uint64
Access type: Read-only

The volume serial number.

UsnCheckPoint
Data type: uint32
Access type: Read-only
Qualifiers: MinValue (1)

The number of journal updates to accumulate before committing a transaction.

VolumeGuid
Data type: string
Access type: Read-only
Qualifiers: Key, MinLen (36) , MaxLen (36)

The unique volume identifier.

VolumePath
Data type: string
Access type: Read-only

The volume path name.

This string has one of the following formats: "\\.\drive:" or "\\?\volume{GUID}".

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012 R2

Namespace

\.\root\Microsoft\Windows\Dfsr

MOF

Dfsrwmiv2.mof

See also

DFSR WMI Classes

 

 

Show:
© 2014 Microsoft