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

適用於