Compartir a través de


Update method of the MSFT_DedupVolumeStatus class

Scans the specified volumes to compute fresh data deduplication savings information and returns deduplication status objects containing fresh metadata, not cached.

Syntax

uint32 Update(
  [in]  string                 Volume[],
  [out] MSFT_DedupVolumeStatus DedupVolumeStatus[]
);

Parameters

Volume [in]

A list of file system volumes for which to scan and compute fresh data deduplication savings information. Volumes can be specified by drive letter (for example, D:) or volume GUID path. A volume GUID path is a string of the form "\\?\Volume{GUID}\" where GUID is a GUID that identifies the volume.

DedupVolumeStatus [out]

Array of references to the updated deduplication status objects.

Return value

This method returns either a WMI return code or a system error code.

Remarks

When you call this method for multiple volumes at once, the analysis for each volume is done serially.

It is important to note that on large volumes this method can run for several minutes and will always perform a rescan after the initial scan. The default behavior is to wait for completion, regardless of the length of time required to run the scan and rescan.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\Deduplication
MOF
DeduplicationProvider.mof
DLL
DdpWmi.dll

See also

MSFT_DedupVolumeStatus