TaskEventLog(String, String, String, String, String) Constructor
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskEventLog(
string machineName,
string taskPath,
string domain = null,
string user = null,
string password = null
)
Parameters
- machineName String
- Name of the machine.
- taskPath String
- The task path. This can be retrieved using the Path property.
- domain String (Optional)
- The domain.
- user String (Optional)
- The user.
- password String (Optional)
- The password.