PermissionSet.IsUnrestricted 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
PermissionSet 가 Unrestricted
인지를 결정합니다.
public:
bool IsUnrestricted();
public:
virtual bool IsUnrestricted();
public bool IsUnrestricted ();
public virtual bool IsUnrestricted ();
member this.IsUnrestricted : unit -> bool
abstract member IsUnrestricted : unit -> bool
override this.IsUnrestricted : unit -> bool
Public Function IsUnrestricted () As Boolean
Public Overridable Function IsUnrestricted () As Boolean
반환
PermissionSet가 Unrestricted
이면 true
이고, 그렇지 않으면 false
입니다.
예제
다음 코드 예제에서는 메서드의 사용을 보여 있습니다 IsUnrestricted . 이 코드 예제는에 대해 제공 된 큰 예제의 일부는 PermissionSet 클래스입니다.
// Check for an unrestricted permission set.
PermissionSet^ ps7 = gcnew PermissionSet( PermissionState::Unrestricted );
Console::WriteLine( "Permission set is unrestricted = {0}", ps7->IsUnrestricted() );
// Check for an unrestricted permission set.
PermissionSet ps7 = new PermissionSet(PermissionState.Unrestricted);
Console.WriteLine("Permission set is unrestricted = " + ps7.IsUnrestricted());
' Check for an unrestricted permission set.
Dim ps7 As New PermissionSet(PermissionState.Unrestricted)
Console.WriteLine("Permission set is unrestricted = " & ps7.IsUnrestricted())
설명
Unrestricted
PermissionSet 효과적으로 인터페이스를 구현 IUnrestrictedPermission 하는 모든 권한을 포함합니다.