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
public string GetLogRecords (
    IServerLogQuery pQuery
HRESULT GetLogRecords(
  IServerLogQuery* pQuery
pQuery [in]

pQuery is a parameter of type IServerLogQuery*

Product Availability

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


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

See Also

IServerLog Interface