LOTUSSCRIPT/COM/OLE CLASSES
Returns the latest profiling results for an agent.
Note This method is new with Release 7.
Note This method is not implemented in COM.
Defined in
NotesAgent
Syntax
notesDocument = notesAgent.GetPerformanceDocument
Return value
notesDocument
Use of the returned NotesDocument object as the second parameter of EditDocument in NotesUIWorkspace opens the profiling results as a UI document.
Profiling results are presented in a document based on the hidden form $BEProfile. The result document contains a heading listing the name of the agent and the creation time. The Body item of the result document contains a table with a row for each Domino Objects method called and five columns:
To enable profiling in an agent, select the Security tab of the properties box and check "Profile this agent." Profiling occurs each time an enabled agent runs. Agent profiling occurs on both the Notes client and Domino server.
To view the profiling results from the UI, select the agent and choose Agent - View Profile Results.
Example See Also