JAVA/CORBA CLASSES


Query property
Example

Read-only. The text of the query used by an agent to select documents. In the Agent Properties box, a query is defined by the searches added to the agent using the Add Search button.

If no query is defined with the Add Search button, the Query property returns an empty string, even if the agent runs a formula that has its own SELECT statement or a script that selects specific documents.

Defined in

Agent

Data type

String

Syntax

public String getQuery()
   throws NotesException

Usage

Some sample results:


Language cross-reference

Query property in LotusScript NotesAgent class

Example
See Also