Click or drag to resize
Task Scheduler Managed Class Library

TaskPrincipalPrivileges.Add Method

Adds an item to the ICollection<T>.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public void Add(
	TaskPrincipalPrivilege item
)
Request Example View Source

Parameters

item  TaskPrincipalPrivilege
The object to add to the ICollection<T>.
Exceptions
ExceptionCondition
NotSupportedExceptionThe ICollection<T> is read-only.
See Also