|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerLog
Provides access to members that query and retrieve log records.
The IServerLog interface is used to query and retrieve records from the logs on disk. A reference to this interface is acquired through the ServerLog property of the IServerObjectAdmin2 interface.
The IServerLog interface has two methods. The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method which returns a string containing the logs matching the query parameters.
Method Summary | |
---|---|
IServerLogQuery |
createQuery()
Creates an IServerLogQuery for interrogating the ArcGIS server logs. |
String |
getLogRecords(IServerLogQuery pQuery)
Retrieves ArcGIS Server log records using an IServerLogQuery. |
Method Detail |
---|
IServerLogQuery createQuery() throws IOException, AutomationException
The CreateQuery method returns an IServerLogQuery interface that can be populated and used as an argument to the GetLogRecords method.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getLogRecords(IServerLogQuery pQuery) throws IOException, AutomationException
The GetLogRecords method accepts an IServerLogQuery and returns a string containing the logs matching the IServerLogQuery query parameters.
pQuery
- A reference to a com.esri.arcgis.server.IServerLogQuery (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |