Click or drag to resize
Task Scheduler Managed Class Library

TaskAuditRule Class

Represents a set of access rights to be audited for a user or group. This class cannot be inherited.
Inheritance Hierarchy
SystemObject
  System.Security.AccessControlAuthorizationRule
    System.Security.AccessControlAuditRule
      Microsoft.Win32.TaskSchedulerTaskAuditRule

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public sealed class TaskAuditRule : AuditRule
Request Example View Source

The TaskAuditRule type exposes the following members.

Constructors
 NameDescription
Public methodTaskAuditRule Initializes a new instance of the TaskAuditRule class, specifying the user or group to audit, the rights to audit, and whether to audit success, failure, or both.
Top
Properties
 NameDescription
Public propertyTaskRights Gets the access rights affected by the audit rule.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also