Modifica

Condividi tramite


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)

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

Persist(String)

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

Persist(SafeHandle)

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

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

Parameters

handle
SafeHandle

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

Applies to

Persist(String)

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

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

Parameters

name
String

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

Applies to