Share via


MSFT_DedupFileMetadata class

Represents a file that has data deduplication metadata.

Syntax

[dynamic, provider("DeduplicationProvider"), ClassVersion("1.0"), AMENDMENT]
class MSFT_DedupFileMetadata
{
  string Path[];
  string Volume;
  string VolumeId;
  uint64 FilesCount;
  uint64 OptimizedFilesCount;
  uint64 Size;
  uint64 SizeOnDisk;
  uint64 DedupSize;
  uint64 DedupChunkCount;
  uint64 DedupDistinctSize;
  uint64 DedupDistinctChunkCount;
};

Members

The MSFT_DedupFileMetadata class has these types of members:

Methods

The MSFT_DedupFileMetadata class has these methods.

Method Description
Measure Returns a class representing the deduplication metadata for a specified file.

Properties

The MSFT_DedupFileMetadata class has these properties.

DedupChunkCount

Data type: uint64

Access type: Read-only

The number of variable-sized chunks that are used in the optimized file.

DedupDistinctChunkCount

Data type: uint64

Access type: Read-only

The number of variable-sized chunks that are used in the optimized file, but are not used by other optimized files.

DedupDistinctSize

Data type: uint64

Access type: Read-only

The size of the unique portion of the file, in bytes, after it has been optimized.

DedupSize

Data type: uint64

Access type: Read-only

The size of the file, in bytes, after it has been optimized.

FilesCount

Data type: uint64

Access type: Read-only

The number of files on the volume.

OptimizedFilesCount

Data type: uint64

Access type: Read-only

The number of optimized files on the volume. This number remains unchanged as users delete files from or add files to the volume until you run a garbage collection job. This number is most accurate after a garbage collection job runs.

Path

Data type: string array

Access type: Read-only

The path of the file.

Size

Data type: uint64

Access type: Read-only

The size of the file, in bytes, before it was optimized.

SizeOnDisk

Data type: uint64

Access type: Read-only

The amount of space that was allocated to the file before it was optimized, in bytes, based on the cluster size of the partition.

Volume

Data type: string

Access type: Read-only

A drive letter, for example, "D:", or a volume GUID path for the volume.

VolumeId

Data type: string

Access type: Read-only

A volume GUID path for the volume. A volume GUID path is a string of the form "\\?\Volume{GUID}\" where GUID is a GUID that identifies the volume.

Requirements

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

See also

Data Deduplication Management WMI API Reference