This document is archived and information here might be outdated.  Recommended version.


IServerLog.GetLogRecords Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Server)  

IServerLog.GetLogRecords Method

Retrieves ArcGIS Server log records using an IServerLogQuery.

[Visual Basic .NET]
Public Function GetLogRecords ( _
    ByVal pQuery As IServerLogQuery _
) As String
[C#]
public string GetLogRecords (
    IServerLogQuery pQuery
);
[C++]
HRESULT GetLogRecords(
  IServerLogQuery* pQuery
);
[C++]

Parameters pQuery [in]
pQuery is a parameter of type IServerLogQuery*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

The GetLogRecords method accepts an IServerLogQuery and returns a string containing the logs matching the IServerLogQuery query parameters.

See Also

IServerLog Interface