Share via


ProtectedImportExportStatus Enum

Definition

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.

Possible status values for an enterprise protected file that has been imported from or exported to a container file.

public enum class ProtectedImportExportStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 65536)]
enum class ProtectedImportExportStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 65536)]
public enum ProtectedImportExportStatus
var value = Windows.Security.EnterpriseData.ProtectedImportExportStatus.ok
Public Enum ProtectedImportExportStatus
Inheritance
ProtectedImportExportStatus
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
Ok 0

The file's protection is OK.

Undetermined 1

The file's protection can not be determined.

Unprotected 2

The file is not protected.

Revoked 3

The file's protection has been revoked, and it is inaccessible.

NotRoamable 4

The file cannot be roamed to another device.

ProtectedToOtherIdentity 5

The file is inaccessible, as it is protected to a different enterprise identity.

LicenseExpired 6

The file's RMS license has expired.

AccessSuspended 7

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

Remarks

Version history

Windows version SDK version Value added
1511 10586 AccessSuspended
1511 10586 LicenseExpired

Applies to