EventTriggerSetBasic Method
Sets the subscription for a basic event. This will replace the contents of the
Subscription property and clear all
entries in the
ValueQueries property.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public void SetBasic(
string log,
string source,
int? eventId
)
Parameters
- log String
- The event's log.
- source String
- The event's source. Can be null.
- eventId NullableInt32
- The event's id. Can be null.