JAVA/CORBA CLASSES
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:
("tulip")
("tulip") AND ([_CreationDate] = 09/19/96)
(([Form]="Response"))
(([Form]="Response")) AND ([Subject] CONTAINS (mustard greens))
Query property in LotusScript NotesAgent class
Example See Also