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.
Resizes the file system.
Syntax
UInt32 ModifySize(
[in, out] UInt64 Size,
[in] Boolean RunAsJob,
[out] MSFT_SMJob REF CreatedStorageJob,
[out, optional] MSFT_SMExtendedStatus ExtendedStatus
);
Parameters
-
Size [in, out]
-
The new size of the file system, in bytes.
-
RunAsJob [in]
-
true to start a job to modifies the file system asynchronously; otherwise, False.
-
CreatedStorageJob [out]
-
Reference to the MSFT_SMJob instance. May be NULL if the job is completed.
-
ExtendedStatus [out, optional]
-
An MSFT_SMExtendedStatus object containing the results of calling this method.
Return value
Returns "0" on success, otherwise returns a WMI error code.
Requirements
| Minimum supported client |
None supported |
| Minimum supported server |
Windows Server 2016 |
| Namespace |
Root\Microsoft\Windows\Storage\SM |
| MOF |
|
| DLL |
|