Share via


Unmount method of the Msvm_MountedStorageImage class

Unmounts the storage image.

Syntax

uint32 Unmount();

Parameters

This method has no parameters.

Return value

Type: uint32

This method can return one of the following values.

Success (0)

Failed (1)

Remarks

Access to the Msvm_MountedStorageImage class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

Msvm_MountedStorageImage