This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerLog Interface > IServerLog.CreateQuery Method (ArcObjects .NET 10.5 SDK) |
Creates an IServerLogQuery for interrogating the ArcGIS server logs.
[Visual Basic .NET] Public Function CreateQuery ( _ ) As IServerLogQuery
[C#] public IServerLogQuery CreateQuery ( );
[C++]
HRESULT CreateQuery(
IServerLogQuery** ppQuery
);
[C++]
Parameters ppQuery [out, retval]
ppQuery is a parameter of type IServerLogQuery
The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method.