UpdateHostStorageCache method of the MSFT_StorageSetting class

Updates the internal cache of software objects (that is, Disks, Partitions, Volumes) for the storage setting. This is useful if there was extensive change to the storage layout exposed to that computer.

Syntax

UInt32 UpdateHostStorageCache();

Parameters

This method has no parameters.

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

See also

MSFT_StorageSetting