GetIdentificationField method of the Win32_EncryptableVolume class

The GetIdentificationField method of the Win32_EncryptableVolume class returns the identifier string available in the volume's metadata.

Syntax

uint32 GetIdentificationField(
  [out] string IdentificationField
);

Parameters

IdentificationField [out]

Type: string

A string that specifies the identification field that is assigned to the volume.

Return value

Type: uint32

This method returns one of the following codes or another error code if it fails.

Return code/value Description
S_OK
0 (0x0)
The method was successful.
FVE_E_LOCKED_VOLUME
2150694912 (0x80310000)
This drive is locked by BitLocker Drive Encryption. You must unlock this volume from Control Panel.
FVE_E_NOT_ACTIVATED
2150694920 (0x80310008)
BitLocker is not enabled on the volume. Add a key protector to enable BitLocker.

 

Requirements

Requirement Value
Minimum supported client
Windows 7 Enterprise, Windows 7 Ultimate [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Namespace
Root\CIMV2\Security\MicrosoftVolumeEncryption
MOF
Win32_encryptablevolume.mof

See also

Win32_EncryptableVolume