Share via


ProtectionPolicyManager.GetEnforcementLevel(String) 메서드

정의

참고

2022년 7월부터 Microsoft는 WIP(Windows Information Protection) 및 WIP를 지원하는 API를 더 이상 사용하지 않습니다. Microsoft는 지원되는 Windows 버전에서 WIP를 계속 지원합니다. 새 버전의 Windows에는 WIP에 대한 새로운 기능이 포함되지 않으며 이후 버전의 Windows에서는 지원되지 않습니다. 자세한 내용은 Windows Information Protection 일몰 발표를 참조하세요.

데이터 보호 요구 사항에 따라 Microsoft Purview Information ProtectionMicrosoft Purview 데이터 손실 방지 사용하는 것이 좋습니다. Purview는 구성 설정을 간소화하고 고급 기능 집합을 제공합니다.

이 방법을 사용하여 현재 WIP(Windows Information Protection) 적용 수준을 확인할 수 있습니다. WIP 적용 수준은 MDM(모바일 디바이스 관리) 정책 구성의 한 측면입니다.

public:
 static EnforcementLevel GetEnforcementLevel(Platform::String ^ identity);
 static EnforcementLevel GetEnforcementLevel(winrt::hstring const& identity);
public static EnforcementLevel GetEnforcementLevel(string identity);
function getEnforcementLevel(identity)
Public Shared Function GetEnforcementLevel (identity As String) As EnforcementLevel

매개 변수

identity
String

Platform::String

winrt::hstring

엔터프라이즈 ID입니다. 관리되는 전자 메일 주소 또는 도메인입니다. 앱은 IsIdentityManaged 를 사용하여 전자 메일 주소 또는 도메인이 관리되고 있는지 확인해야 합니다.

반환

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에서 도입되었습니다.)

적용 대상