TaskEventLog(DateTime, String, String, String, String, String) Constructor
Initializes a new instance of the
TaskEventLog class that looks at all task events from a specified time.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventLog(
DateTime startTime,
string taskName = null,
string machineName = null,
string domain = null,
string user = null,
string password = null
)
Parameters
- startTime DateTime
- The start time.
- taskName String (Optional)
- Name of the task.
- machineName String (Optional)
- Name of the machine (optional).
- domain String (Optional)
- The domain.
- user String (Optional)
- The user.
- password String (Optional)
- The password.