共用方式為


ExportDBClone method of the MSFT_DfsrVolumeConfig class

Starts the process of exporting the Distributed File System Replication (DFSR) database for the specified volume. This is a static method.

Syntax

uint32 ExportDBClone(
  [in] string  Source,
  [in] string  Destination,
  [in] uint32  ValidationLevel,
  [in] boolean Overwrite
);

Parameters

Source [in]

Specifies the volume path containing the database to export.

Destination [in]

Specifies the folder path of the location to store the exported Distributed File System Replication (DFSR) database and configuration file.

ValidationLevel [in]

Specifies the level of validation to perform on the export.

No validation (0)

No file validation is performed.

Basic validation (1)

Validate the size, last modified date and security setting for each replicated file.

Full validation (2)

Validate the full DFSR file hash for each replicated file.

Overwrite [in]

Specifies whether to overwrite any previously exported files. Set to True to overwrite; otherwise false.

Return value

This method returns a system error code.

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

MSFT_DfsrVolumeConfig