FileProtectionStatus enumeration

FileProtectionStatus enumeration

Note  Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.
 

Describes the enterprise protection state of a file or folder.

Syntax


var value = Windows.Security.EnterpriseData.FileProtectionStatus.unknown;

Members

The FileProtectionStatus enumeration has these members.

MemberValueDescription
Unknown | unknown0

The item is either encrypting or decrypting and the enterprise protection status cannot be determined. Check again later.

Undetermined | undetermined0
Note  Undetermined may be unavailable for releases after Windows 10. Instead, use Unknown.
 

The item is either encrypting or decrypting and the enterprise protection status cannot be determined. Check again later.

Unprotected | unprotected1

The item is not protected using enterprise protection.

Revoked | revoked2

The item has been revoked using enterprise protection.

Protected | protected3

The item is protected using enterprise protection.

ProtectedByOtherUser | protectedByOtherUser4
Note  ProtectedByOtherUser may be unavailable for releases after Windows 10. Instead, use ProtectedToOtherIdentity.
 

Another user has protected the item using enterprise protection.

ProtectedToOtherEnterprise | protectedToOtherEnterprise5
Note  ProtectedToOtherEnterprise may be unavailable for releases after Windows 10. Instead, use ProtectedToOtherIdentity.
 

The item is protected for another enterprise id using enterprise protection.

NotProtectable | notProtectable6

The item is encrypted or is a system file and cannot be protected using enterprise protection.

ProtectedToOtherIdentity | protectedToOtherIdentity7

The item is protected for another enterprise identity using enterprise protection.

LicenseExpired | licenseExpired8

The item's RMS license has expired.

AccessSuspended | accessSuspended9

The keys to access the protected item have been dropped while the device is locked.

FileInUse | fileInUse10

The item is being used by another process. You can apply enterprise protection to it only after it becomes exclusively available.

Requirements (Windows 10 device family)

Device family

Desktop, introduced version 10.0.10240.0
Mobile, introduced version 10.0.10240.0

API contract

Windows.Security.EnterpriseData.EnterpriseDataContract, introduced version 1.0

Namespace

Windows.Security.EnterpriseData
Windows::Security::EnterpriseData [C++]

Metadata

Windows.Security.EnterpriseData.EnterpriseDataContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Security.EnterpriseData
Windows::Security::EnterpriseData [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

 

 

Show:
© 2016 Microsoft