Click or drag to resize
Task Scheduler Managed Class Library

TaskFolderSetSecurityDescriptor Method

Note: This API is now obsolete.

Sets the security descriptor for the folder. Not available to Task Scheduler 1.0.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[ObsoleteAttribute("This method will be removed in deference to the SetAccessControl and SetSecurityDescriptorSddlForm methods.")]
public void SetSecurityDescriptor(
	GenericSecurityDescriptor sd,
	SecurityInfos includeSections = SecurityInfos.Owner|SecurityInfos.Group|SecurityInfos.DiscretionaryAcl
)
Request Example View Source

Parameters

sd  GenericSecurityDescriptor
The security descriptor for the folder.
includeSections  SecurityInfos  (Optional)
Section(s) of the security descriptor to set.
See Also