Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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/valueDescription
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

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.