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

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also