description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Pauses the encryption or decryption of a volume. |
3c365299-f0e1-480e-ad96-c91bb4108bb2 |
PauseConversion method of the Win32_EncryptableVolume class |
reference |
05/31/2018 |
|
|
|
|
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.
uint32 PauseConversion();
This method has no parameters.
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. |
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).
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 |
|