Share via


DataProtectionPermission.IsUnrestricted 메서드

정의

현재 사용 권한이 제한되지 않았는지 여부를 나타내는 값을 반환합니다.

public:
 virtual bool IsUnrestricted();
public bool IsUnrestricted ();
abstract member IsUnrestricted : unit -> bool
override this.IsUnrestricted : unit -> bool
Public Function IsUnrestricted () As Boolean

반환

현재 사용 권한이 제한되지 않은 경우true 이고, 제한되는 경우 false입니다.

구현

예제

다음 코드 예제에서는 사용 된 메서드입니다 IsUnrestricted . 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 DataProtectionPermission 클래스입니다.

rc = sp3->IsUnrestricted();
Console::WriteLine( "Is the third permission unrestricted? {0}", (rc ? (String^)"Yes" : "No") );
rc = sp3.IsUnrestricted();
Console.WriteLine("Is the third permission unrestricted? " +
    (rc ? "Yes" : "No"));
rc = sp3.IsUnrestricted()
Console.WriteLine("Is the third permission unrestricted? " + IIf(rc, "Yes", "No")) 'TODO: For performance reasons this should be changed to nested IF statements

설명

무제한 권한은 권한으로 보호되는 모든 리소스에 대한 액세스를 나타냅니다.

적용 대상