Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GetAttributes method of the MSFT_Volume class

Retrieves the volume attributes.

Only one attribute can be retrieved.

Syntax


UInt32 GetAttributes(
  [out] Boolean VolumeScrubEnabled
);

Parameters

VolumeScrubEnabled [out]

Indicates whether the automatic data integrity scanner should scrub files.

TRUE if files on this volume will be scrubbed, or FALSE otherwise.

Return value

Success (0)
Not Supported (1)
Unspecified Error (2)
Timeout (3)
Failed (4)
Invalid Parameter (5)

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

Root\Microsoft\Windows\Storage

MOF

Storagewmi.mof

See also

MSFT_Volume

 

 

Show: