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 |
---|---|
|
The method was successful. |
|
This drive is locked by BitLocker Drive Encryption. You must unlock this volume from Control Panel. |
|
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 |
|
See also