Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Requirement | Value |
---|---|
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 |