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.GetLogRecords Method (ArcObjects .NET 10.5 SDK) |
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
The GetLogRecords method accepts an IServerLogQuery and returns a string containing the logs matching the IServerLogQuery query parameters.