Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DfsrVolumeConfig class

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

Syntax

class DfsrVolumeConfig : CIM_Setting
{
  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 DfsrVolumeConfig class has these types of members:

Methods

The DfsrVolumeConfig class has these methods.

MethodDescription
ResumeReplication

Resumes replication for the volume.

Windows Server 2008 R2, Windows Server 2008, Windows Vista, and Windows Server 2003 R2:  This method is not supported until Windows Server 2012 R2.

 

Properties

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

Windows Server 2003 R2, Windows Vista, and Windows Server 2008:  This property is not supported until Windows Server 2008 R2.

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, or FALSE if it is a local volume.

Windows Server 2003 R2, Windows Vista, and Windows Server 2008:  This property is not supported until Windows Server 2008 R2.

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. This is the name of the DC 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.

Windows Server 2003 R2, Windows Vista, and Windows Server 2008:  This property is not supported until Windows Server 2008 R2.

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

Windows Server 2003 R2, Windows Vista, and Windows Server 2008:  This property is not supported until Windows Server 2008 R2.

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

Windows Vista

Minimum supported server

Windows Server 2003 R2

End of client support

Windows Vista

Namespace

\\.\Root\MicrosoftDfs

MOF

DfsRProvs.mof

See also

DFSR WMI Classes

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.