ObjectSecurity.Persist 메서드

정의

ObjectSecurity 개체의 보안 설명자 정보를 영구 스토리지에 저장하는 보호된 메서드입니다.

오버로드

Persist(SafeHandle, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(String, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(Boolean, String, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

Persist(SafeHandle, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 virtual void Persist(System::Runtime::InteropServices::SafeHandle ^ handle, System::Security::AccessControl::AccessControlSections includeSections);
protected virtual void Persist (System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections);
abstract member Persist : System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> unit
override this.Persist : System.Runtime.InteropServices.SafeHandle * System.Security.AccessControl.AccessControlSections -> unit
Protected Overridable Sub Persist (handle As SafeHandle, includeSections As AccessControlSections)

매개 변수

handle
SafeHandle

유지된 정보를 검색하는 데 사용하는 핸들입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

설명

유지 하는 경우는 ObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 ObjectSecurity 개체, 섹션 유지 되의 ObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 ObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상

Persist(String, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 virtual void Persist(System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
protected virtual void Persist (string name, System.Security.AccessControl.AccessControlSections includeSections);
abstract member Persist : string * System.Security.AccessControl.AccessControlSections -> unit
override this.Persist : string * System.Security.AccessControl.AccessControlSections -> unit
Protected Overridable Sub Persist (name As String, includeSections As AccessControlSections)

매개 변수

name
String

유지된 정보를 검색하는 데 사용하는 이름입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

설명

유지 하는 경우는 ObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 ObjectSecurity 개체, 섹션 유지 되의 ObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 ObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상

Persist(Boolean, String, AccessControlSections)

ObjectSecurity 개체와 연결된 보안 설명자의 지정된 섹션을 영구 스토리지에 저장합니다. 생성자와 persist 메서드에는 동일한 includeSections 매개 변수 값을 전달하는 것이 좋습니다.

protected:
 virtual void Persist(bool enableOwnershipPrivilege, System::String ^ name, System::Security::AccessControl::AccessControlSections includeSections);
protected virtual void Persist (bool enableOwnershipPrivilege, string name, System.Security.AccessControl.AccessControlSections includeSections);
[System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions]
protected virtual void Persist (bool enableOwnershipPrivilege, string name, System.Security.AccessControl.AccessControlSections includeSections);
abstract member Persist : bool * string * System.Security.AccessControl.AccessControlSections -> unit
override this.Persist : bool * string * System.Security.AccessControl.AccessControlSections -> unit
[<System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions>]
abstract member Persist : bool * string * System.Security.AccessControl.AccessControlSections -> unit
override this.Persist : bool * string * System.Security.AccessControl.AccessControlSections -> unit
Protected Overridable Sub Persist (enableOwnershipPrivilege As Boolean, name As String, includeSections As AccessControlSections)

매개 변수

enableOwnershipPrivilege
Boolean

호출자가 개체의 소유권을 가질 수 있도록 하는 권한을 설정하려면 true입니다.

name
String

유지된 정보를 검색하는 데 사용하는 이름입니다.

includeSections
AccessControlSections

저장할 보안 가능한 개체의 보안 설명자 섹션(액세스 규칙, 감사 규칙, 소유자 및 기본 그룹)을 지정하는 AccessControlSections 열거형 값 중 하나입니다.

특성

설명

유지 하는 경우는 ObjectSecurity 개체, 경우 값을 includeSections 매개 변수가 전달 되는 Persist 메서드 값과 같지 않으면를 includeSections 매개 변수를 만드는 데 생성자에 전달 ObjectSecurity 개체, 섹션 유지 되의 ObjectSecurity 개체 예측할 수 없는 값을 포함할 수 있습니다. 예를 들어, 생성자가 사용 하 여 호출 하는 경우는 includeSectionsAccess, 이상를 Persist 메서드가 사용 하 여 개체에서 호출 되는 includeSectionsAll, 결과 유지 ObjectSecurity 개체에 포함 됩니다 해당 감사 규칙, 그룹 및 소유자에 대 한 예측할 수 없는 값입니다.

적용 대상