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.
Deletes the file system.
Syntax
UInt32 Delete(
[in] Boolean RunAsJob,
[out] MSFT_SMJob REF CreatedStorageJob,
[out, optional] MSFT_SMExtendedStatus ExtendedStatus
);
Parameters
-
RunAsJob [in]
-
True to start a job that deletes the file system asynchronously; otherwise, False.
-
CreatedStorageJob [out]
-
A reference to the MSFT_SMJob instance that was created by RunAsJob. If the job is completed, this property can be set to NULL.
-
ExtendedStatus [out, optional]
-
An MSFT_SMExtendedStatus object that contains 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 |
|