ProtectionPolicyEvaluationResult Enumeration

Definition

Hinweis

Ab Juli 2022 stellt Microsoft Windows Information Protection (WIP) und die APIs, die WIP unterstützen, als veraltet fest. Microsoft wird WIP weiterhin auf unterstützten Versionen von Windows unterstützen. Neue Versionen von Windows enthalten keine neuen Funktionen für WIP und werden in zukünftigen Versionen von Windows nicht unterstützt. Weitere Informationen finden Sie unter Ankündigung des Sonnenuntergangs von Windows Information Protection.

Für Ihre Datenschutzanforderungen empfiehlt Microsoft, dass Sie Microsoft Purview Information Protection und Microsoft Purview Data Loss Prevention verwenden. Purview vereinfacht die Konfiguration und bietet einen erweiterten Satz von Funktionen.

Mögliche Ergebnisse, wenn der Zugriff auf geschützte Inhalte angefordert oder abgefragt wird.

public enum class ProtectionPolicyEvaluationResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ProtectionPolicyEvaluationResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ProtectionPolicyEvaluationResult
var value = Windows.Security.EnterpriseData.ProtectionPolicyEvaluationResult.allowed
Public Enum ProtectionPolicyEvaluationResult
Vererbung
ProtectionPolicyEvaluationResult
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Felder

Allowed 0

Der Zugriff wird erteilt.

Blocked 1

Der Zugriff ist blockiert.

ConsentRequired 2

Für den Zugriff ist eine Zustimmung erforderlich.

Gilt für: