Export (0) Print
Expand All

EVT_EXPORTLOG_FLAGS enumeration

Defines values that indicate whether the events come from a channel or log file.

Syntax


typedef enum  { 
  EvtExportLogChannelPath          = 0x1,
  EvtExportLogFilePath             = 0x2,
  EvtExportLogTolerateQueryErrors  = 0x1000
} EVT_EXPORTLOG_FLAGS;

Constants

EvtExportLogChannelPath

The source of the events is a channel.

EvtExportLogFilePath

The source of the events is a previously exported log file.

EvtExportLogTolerateQueryErrors

Export events even if part of the query generates an error (is not well formed). The service validates the syntax of the XPath query to determine whether it is well formed. If the validation fails, the service parses the XPath into individual expressions. It builds a new XPath beginning with the leftmost expression. The service validates the expression and if it is valid, the service adds the next expression to the XPath. The service repeats this process until it finds the expression that is failing. It then uses the valid expressions as the XPath query (which means that you may not get the events that you expected). If no part of the XPath is valid, the EvtExportLog call fails.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinEvt.h

See also

EvtExportLog

 

 

Community Additions

ADD
Show:
© 2014 Microsoft