Share via


ObjectSecurity<T>.Persist Metodo

Definizione

Consente di salvare in un archivio permanente le sezioni specificate del descrittore di sicurezza associato all'oggetto ObjectSecurity`1.

Overload

Persist(SafeHandle)

Consente di salvare in un archivio permanente il descrittore di sicurezza associato all'oggetto ObjectSecurity`1 utilizzando l'handle specificato.

Persist(String)

Consente di salvare in un archivio permanente il descrittore di sicurezza associato all'oggetto ObjectSecurity`1 utilizzando il nome specificato.

Persist(SafeHandle)

Consente di salvare in un archivio permanente il descrittore di sicurezza associato all'oggetto ObjectSecurity`1 utilizzando l'handle specificato.

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

Parametri

handle
SafeHandle

Handle dell'oggetto che può essere protetto al quale è associato l'oggetto ObjectSecurity`1.

Si applica a

Persist(String)

Consente di salvare in un archivio permanente il descrittore di sicurezza associato all'oggetto ObjectSecurity`1 utilizzando il nome specificato.

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

Parametri

name
String

Nome dell'oggetto che può essere protetto al quale è associato l'oggetto ObjectSecurity`1.

Si applica a