ProtectionPolicyManager.GetForCurrentView ProtectionPolicyManager.GetForCurrentView ProtectionPolicyManager.GetForCurrentView ProtectionPolicyManager.GetForCurrentView ProtectionPolicyManager.GetForCurrentView Method

Definition

Note

Windows Information Protection (WIP) policy cannot be applied on Windows 10, version 1511 (build 10586) or earlier.

Returns the ProtectionPolicyManager object associated with the current app window.

public : static ProtectionPolicyManager GetForCurrentView()
static ProtectionPolicyManager GetForCurrentView() const;
public static ProtectionPolicyManager GetForCurrentView()
Public Shared Function GetForCurrentView() As ProtectionPolicyManager
var protectionPolicyManager = Windows.Security.EnterpriseData.ProtectionPolicyManager.getForCurrentView();

Returns

Additional features and requirements

Capabilities
enterpriseDataPolicy