GetSuspendCount method of the Win32_EncryptableVolume class
The GetSuspendCount method of the Win32_EncryptableVolume class retrieves the number of reboots before protection will automatically be resumed.
Syntax
uint32 GetSuspendCount(
uint32 SuspendCount
);
Parameters
-
SuspendCount
-
An integer value from 0 to 15.
Return value
This method returns one of the following codes or another error code if it fails.
Return code | Description |
---|---|
|
The method was successful. |
|
Returned if the volume is not suspended or is not an OS volume. |
Remarks
This method only applies to the OS volume, and only if it is actually suspended at the time. If the volume is not suspended or is not an OS volume, ERROR_NOT_SUPPORTED will be returned.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 Enterprise, Windows 8 Pro [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |
Namespace |
Root\CIMV2\Security\MicrosoftVolumeEncryption |
Header |
|
MOF |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for