DataProtectionStatus Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Note
Starting in July 2022, Microsoft is deprecating Windows Information Protection (WIP) and the APIs that support WIP. Microsoft will continue to support WIP on supported versions of Windows. New versions of Windows won't include new capabilities for WIP, and it won't be supported in future versions of Windows. For more information, see Announcing sunset of Windows Information Protection.
For your data protection needs, Microsoft recommends that you use Microsoft Purview Information Protection and Microsoft Purview Data Loss Prevention. Purview simplifies the configuration set-up and provides an advanced set of capabilities.
Describes the enterprise identity protection state of a buffer or stream.
public enum class DataProtectionStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 65536)]
enum class DataProtectionStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 65536)]
public enum DataProtectionStatus
var value = Windows.Security.EnterpriseData.DataProtectionStatus.protectedToOtherIdentity
Public Enum DataProtectionStatus
- Inheritance
-
DataProtectionStatus
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows Mobile Extension SDK (introduced in 10.0.10240.0) |
API contract |
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v1.0)
|
Fields
Name | Value | Description |
---|---|---|
ProtectedToOtherIdentity | 0 | The item is protected to another enterprise identity. |
Protected | 1 | The item is protected. |
Revoked | 2 | The protection of the item has been revoked. |
Unprotected | 3 | The item is not protected to an enterprise identity. |
LicenseExpired | 4 | The item's RMS license has expired. This value is not currently supported. |
AccessSuspended | 5 | The keys to access the protected item have been dropped while the device is locked. |
Remarks
Version history
Windows version | SDK version | Value added |
---|---|---|
1511 | 10586 | AccessSuspended |
1511 | 10586 | LicenseExpired |