ObjectSecurity<T>.Persist Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Saves the specified sections of the security descriptor associated with this ObjectSecurity`1 object to permanent storage.
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. |
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
.NET 9 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
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
.NET 9 και άλλες εκδόσεις
Προϊόν | Εκδόσεις |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9 |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
.NET σχόλια
.NET είναι ένα έργο ανοιχτού κώδικα. Επιλέξτε μια σύνδεση για να παρέχετε σχόλια: