ProtectionPolicyRequestAccessBehavior Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Defines constants that you can use to override default behavior of the request access overloads of the ProtectionPolicyManager class.
public enum class ProtectionPolicyRequestAccessBehavior
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.EnterpriseData.EnterpriseDataContract, 196608)]
enum class ProtectionPolicyRequestAccessBehavior
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.EnterpriseData.EnterpriseDataContract), 196608)]
public enum ProtectionPolicyRequestAccessBehavior
var value = Windows.Security.EnterpriseData.ProtectionPolicyRequestAccessBehavior.decrypt
Public Enum ProtectionPolicyRequestAccessBehavior
- Inheritance
-
ProtectionPolicyRequestAccessBehavior
- Attributes
Device family |
Windows Desktop Extension SDK (introduced in 10.0.14393.0)
Windows Mobile Extension SDK (introduced in 10.0.14393.0) |
API contract |
Windows.Security.EnterpriseData.EnterpriseDataContract (introduced in v3.0)
|
Name | Value | Description |
---|---|---|
Decrypt | 0 | Indicates that an override action behaves as expected. |
TreatOverridePolicyAsBlock | 1 | Indicates that an override action behaves as a block action. |