LOTUSSCRIPT/COM/OLE CLASSES


ServerName property
Example

Read-write. The name of the server on which an agent runs.

Defined in

NotesAgent

Data type

String

Syntax

To get: server$ = notesAgent.ServerName

To set: notesAgent.ServerName = server$

Usage

The value of the ServerName property depends upon whether or not the agent is scheduled. For information about scheduling agents, see "Triggering an agent on a schedule."


If you change the server name in an agent, you must call the Save method to commit the change to disk. You must have the appropriate access privileges to the database and to the agent.

If you want the agent to run on all servers, use an asterisk (*) for the server name.

Language cross-reference

ServerName in Java Agent class

ToolsCall @command in formula language

Example
See Also