This document is archived and information here might be outdated. Recommended version. |
Provides access to members that configure a query to the ArcGIS Server logs.
Name | Description | |
---|---|---|
EndTime | The end time in the ArcGIS Server logs at which to end the query. | |
Level | The log level at which to query (1-5). | |
Machine | The machine name for which to query. | |
MaxRecords | The maximum number of records to retrieve with the query. | |
StartIndex | The starting index at which to start retrieving records from the query. | |
StartTime | The start time in the ArcGIS Server logs at which to begin the query. | |
Target | The log target name. |
CoClasses and Classes | Description |
---|
The IServerLogQuery interface is retrieved from the CreateQuery method of the IServerLog interface. After populating its properties, the IServerLogQuery interface is used as an argument to the GetLogRecords method of the IServerLog interface.
The StartTime and EndTime properties can be set programmatically (i.e. not hard coded) by getting a time interval from the IServerTimeRange interface via the IServerStatistics interface (see code example).