Click or drag to resize
Task Scheduler Managed Class Library

TaskEventLog Constructor (DateTime, String, String, String, String, String)

Initializes a new instance of the TaskEventLog class that looks at all task events from a specified time.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TaskEventLog(
	DateTime startTime,
	string taskName = null,
	string machineName = null,
	string domain = null,
	string user = null,
	string password = null
)
Request Example View Source

Parameters

startTime
Type: SystemDateTime
The start time.
taskName (Optional)
Type: SystemString
Name of the task.
machineName (Optional)
Type: SystemString
Name of the machine (optional).
domain (Optional)
Type: SystemString
The domain.
user (Optional)
Type: SystemString
The user.
password (Optional)
Type: SystemString
The password.
See Also