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


IServerLog.GetLogRecords Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerLog Interface > IServerLog.GetLogRecords Method
ArcGIS Developer Help

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