EventTriggerBuildQuery Method
Builds an event log XML query string based on the input parameters.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public static string BuildQuery(
string log,
string source,
int? eventId
)
- log String
- The event's log.
- source String
- The event's source. Can be null.
- eventId NullableInt32
- The event's id. Can be null.
StringXML query string.