Click or drag to resize
Task Scheduler Managed Class Library

TaskFolderSetSecurityDescriptorSddlForm Method

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.10.1
Syntax
public void SetSecurityDescriptorSddlForm(
	string sddlForm,
	TaskSetSecurityOptions options = TaskSetSecurityOptions.None
)
Request Example View Source

Parameters

sddlForm
Type: SystemString
The security descriptor for the folder.
options (Optional)
Type: Microsoft.Win32.TaskSchedulerTaskSetSecurityOptions
Flags that specify how to set the security descriptor.
Exceptions
ExceptionCondition
NotV1SupportedExceptionNot supported under Task Scheduler 1.0.
See Also