PauseConversion method of the Win32_EncryptableVolume class
The PauseConversion method of the Win32_EncryptableVolume class pauses the encryption or decryption of a volume.
Note
If the disc supports hardware encryption, this function can pause a wiping operation but cannot pause hardware-based encryption.
Syntax
uint32 PauseConversion();
Parameters
This method has no parameters.
Return value
Type: uint32
This method returns one of the following codes or another error code if it fails.
If this method is used on a fully encrypted or fully decrypted volume, or if encryption/decryption is already paused on the volume, 0 is returned assuming no other errors occur.
Return code/value | Description |
---|---|
|
The method was successful. |
|
The volume is locked. |
Remarks
If this method is used on a volume with encryption/decryption in progress, successfully running this method causes GetConversionStatus to indicate that encryption or decryption is paused.
Managed Object Format (MOF) files contain the definitions for Windows Management Instrumentation (WMI) classes. MOF files are not installed as part of the Windows SDK. They are installed on the server when you add the associated role by using the Server Manager. For more information about MOF files, see Managed Object Format (MOF).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista Enterprise, Windows Vista Ultimate [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Namespace |
Root\CIMV2\Security\MicrosoftVolumeEncryption |
MOF |
|
See also