 | EventTriggerBuildQuery Method |
Builds an event log XML query string based on the input parameters.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic static string BuildQuery(
string log,
string source,
int? eventId
)
Public Shared Function BuildQuery (
log As String,
source As String,
eventId As Integer?
) As String
public:
static String^ BuildQuery(
String^ log,
String^ source,
Nullable<int> eventId
)
Request Example
View SourceParameters
- log
- Type: SystemString
The event's log. - source
- Type: SystemString
The event's source. Can be null. - eventId
- Type: SystemNullableInt32
The event's id. Can be null.
Return Value
Type:
StringXML query string.
Exceptions
See Also