SecurityManager.PolicyHierarchy 메서드

정의

주의

이 API는 이제 사용되지 않습니다.

주의

This method is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.

컴퓨터 정책 및 사용자 정책과 같은 보안 정책 계층 구조에 수준별로 액세스하기 위한 열거자를 제공합니다.

public:
 static System::Collections::IEnumerator ^ PolicyHierarchy();
[System.Obsolete]
public static System.Collections.IEnumerator PolicyHierarchy ();
public static System.Collections.IEnumerator PolicyHierarchy ();
[System.Obsolete("This method is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")]
public static System.Collections.IEnumerator PolicyHierarchy ();
[<System.Obsolete>]
static member PolicyHierarchy : unit -> System.Collections.IEnumerator
static member PolicyHierarchy : unit -> System.Collections.IEnumerator
[<System.Obsolete("This method is obsolete and will be removed in a future release of the .NET Framework. See http://go.microsoft.com/fwlink/?LinkID=155570 for more information.")>]
static member PolicyHierarchy : unit -> System.Collections.IEnumerator
Public Shared Function PolicyHierarchy () As IEnumerator

반환

IEnumerator

보안 정책 계층 구조를 구성하는 PolicyLevel 개체에 대한 열거자입니다.

특성

예외

이 메서드는 .NET Framework 4에서 사용되지 않는 CAS(코드 액세스 보안) 정책을 사용합니다. 이전 버전의 .NET Framework와의 호환성에 대한 CAS 정책을 사용하도록 설정하려면 <legacyCasPolicy> 요소를 사용합니다.

이 메서드를 호출하는 코드에 ControlPolicy가 없습니다.

설명

반환 된 열거자는 연속 제공 PolicyLevel 해당 정책을 나타내는 개체 (컴퓨터, 사용자, enterprise, 애플리케이션 도메인) 계층의 수준입니다. 이러한 개체는 라이브 정책 개체입니다. 이러한 개체를 변경하면 예기치 않은 결과가 발생할 수 있습니다.

최소 정책 계층 구조는 컴퓨터 수준, 엔터프라이즈 수준 및 사용자 수준으로 구성됩니다. 그러나 계층에는 추가 수준이 포함될 수 있습니다.

적용 대상