TaskEventLog(String, Int32, NullableDateTime, String, String, String, String) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventLog(
string taskName = null,
int[] eventIDs = null,
DateTime? startTime = null,
string machineName = null,
string domain = null,
string user = null,
string password = null
)
Parameters
- taskName String (Optional)
- Name of the task.
- eventIDs Int32 (Optional)
- The event ids.
- startTime NullableDateTime (Optional)
- The start time.
- machineName String (Optional)
- Name of the machine (optional).
- domain String (Optional)
- The domain.
- user String (Optional)
- The user.
- password String (Optional)
- The password.