Export (0) Print
Expand All
Expand Minimize

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 codeDescription
S_OK

The method was successful.

ERROR_NOT_SUPPORTED

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

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

MOF

Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume

 

 

Community Additions

ADD
Show:
© 2014 Microsoft