EnforcementLevel 列舉

定義

注意

從 2022 年 7 月開始,Microsoft 即將淘汰 Windows 資訊保護 (WIP) ,以及支援 WIP 的 API。 Microsoft 將繼續在支援的 Windows 版本上支援 WIP。 新版本的 Windows 不會包含 WIP 的新功能,且未來版本的 Windows 不支援此功能。 如需詳細資訊,請參閱宣佈 Windows 資訊保護的終止

針對資料保護需求,Microsoft 建議您使用Microsoft Purview 資訊保護Microsoft Purview 資料外洩防護。 Purview 簡化了組態設定,並提供一組進階的功能。

一組列舉值,一起描述可能的 Windows 資訊保護 (WIP) 強制執行層級。 WIP 強制執行層級是行動裝置管理 (MDM) 原則設定的一個層面。

public enum class EnforcementLevel
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 131072)]
enum class EnforcementLevel
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 131072)]
public enum EnforcementLevel
var value = Windows.Security.EnterpriseData.EnforcementLevel.noProtection
Public Enum EnforcementLevel
繼承
EnforcementLevel
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10586.0 引進)
Windows Mobile Extension SDK (已於 10.0.10586.0 引進)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (已於 v2.0 引進)

欄位

Block 3

原則會呼叫要封鎖的使用者。 為了回應嘗試的動作,例如將資料貼到未經授權的應用程式,您的應用程式應該封鎖動作,並稽核它。

NoProtection 0

原則會呼叫無保護。 如果資料受到保護,且未保護資料,您的應用程式應該停用 WIP 行為。

Override 2

原則會呼叫允許使用者覆寫警告訊息。 為了回應嘗試的動作,例如將資料貼入未經授權的應用程式,您的應用程式應該透過可覆寫的警告訊息提示使用者。 如果使用者覆寫,則您的應用程式應該執行動作並稽核。

Silent 1

原則會呼叫無訊息保護。 您的應用程式不應該提示回應動作,例如將資料貼入未經授權的應用程式。 相反地,您的應用程式應該以無訊息方式允許動作,並加以稽核。

適用於