ObjectSecurity<T>.Persist ObjectSecurity<T>.Persist ObjectSecurity<T>.Persist ObjectSecurity<T>.Persist Method

Definition

Saves the specified sections of the security descriptor associated with this ObjectSecurity`1 object to permanent storage.

Overloads

Persist(SafeHandle) Persist(SafeHandle) Persist(SafeHandle) Persist(SafeHandle)

Saves the security descriptor associated with this ObjectSecurity`1 object to permanent storage, using the specified handle.

Persist(String) Persist(String) Persist(String) Persist(String)

Saves the security descriptor associated with this ObjectSecurity`1 object to permanent storage, using the specified name.

Persist(SafeHandle) Persist(SafeHandle) Persist(SafeHandle) Persist(SafeHandle)

Saves the security descriptor associated with this ObjectSecurity`1 object to permanent storage, using the specified handle.

protected:
 void Persist(System::Runtime::InteropServices::SafeHandle ^ handle);
protected void Persist (System.Runtime.InteropServices.SafeHandle handle);
override this.Persist : System.Runtime.InteropServices.SafeHandle -> unit
Protected Sub Persist (handle As SafeHandle)

Parameters

handle
SafeHandle SafeHandle SafeHandle SafeHandle

The handle of the securable object with which this ObjectSecurity`1 object is associated.

Persist(String) Persist(String) Persist(String) Persist(String)

Saves the security descriptor associated with this ObjectSecurity`1 object to permanent storage, using the specified name.

protected:
 void Persist(System::String ^ name);
protected void Persist (string name);
override this.Persist : string -> unit
Protected Sub Persist (name As String)

Parameters

name
String String String String

The name of the securable object with which this ObjectSecurity`1 object is associated.

Applies to