GetVersion method of the Win32_EncryptableVolume class
The GetVersion method of the Win32_EncryptableVolume class returns the FVE metadata version of the volume.
uint32 GetVersion( [out] uint32 Version );
An unsigned integer that indicates the metadata version of the volume.
The operating system is unknown.
Windows Vista format, meaning that the volume was protected with BitLocker on a computer running Windows Vista.
Windows 7 format, meaning that the volume was protected with BitLocker on a computer running Windows 7 or the metadata format was upgraded by using the UpgradeVolume method.
This method returns one of the following codes or another error code if it fails.
If the volume is already unlocked and no other errors occur, this method returns zero.
||The method succeeded.
||The value for the Version parameter is not valid.
||The driver returned an unsupported data format.
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).
|Minimum supported client
||Windows 7 Enterprise, Windows 7 Ultimate [desktop apps only]
|Minimum supported server
||Windows Server 2008 R2 [desktop apps only]