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


IServerLog.GetLogRecords Method (ArcObjects .NET 10.4 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,
  BSTR* results
);
[C++]

Parameters pQuery [in]
pQuery is a parameter of type IServerLogQuery results [out, retval] results is a parameter of type BSTR

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