TaskSecurityPersist Method

Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
protected override void Persist(
	string name,
	AccessControlSections includeSections = AccessControlSections.Access|AccessControlSections.Owner|AccessControlSections.Group
)

Parameters

name  String
The name used to retrieve the persisted information.
includeSections  AccessControlSections  (Optional)
One of the AccessControlSections enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.

See Also