Share via


ProtectedImportExportStatus 枚举

定义

注意

从 2022 年 7 月开始,Microsoft 将弃用 Windows 信息保护 (WIP) 和支持 WIP 的 API。 Microsoft 将继续在受支持的 Windows 版本上支持 WIP。 新版本的 Windows 不包括 WIP 的新功能,并且将来的 Windows 版本将不受支持。 有关详细信息,请参阅宣布 Windows 信息保护停用

对于数据保护需求,Microsoft 建议使用Microsoft Purview 信息保护Microsoft Purview 数据丢失防护。 Purview 简化了配置设置,并提供一组高级功能。

已从容器文件导入或导出到容器文件的企业保护文件的可能状态值。

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
继承
ProtectedImportExportStatus
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.10240.0 中引入)
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (在 v1.0 中引入)

字段

AccessSuspended 7

设备锁定时,用于访问受保护文件的密钥已被丢弃。

LicenseExpired 6

文件的 RMS 许可证已过期。

NotRoamable 4

文件无法漫游到另一台设备。

Ok 0

文件的保护正常。

ProtectedToOtherIdentity 5

该文件不可访问,因为它受到其他企业标识的保护。

Revoked 3

文件的保护已被撤销,无法访问。

Undetermined 1

无法确定文件的保护。

Unprotected 2

此文件未受保护。

注解

版本历史记录

Windows 版本 SDK 版本 增值
1511 10586 AccessSuspended
1511 10586 LicenseExpired

适用于