IsOnServer (NotesSession - LotusScript®)

Read-only. Indicates whether a script is running on a server.

Defined in

NotesSession

Data type

Boolean

Syntax

To get: flag = notesSession .IsOnServer

Legal values

  • True indicates that the script is running on a server.
  • False indicates that the script is running on a workstation.

Usage

A script is running on a server if it is part of an agent on a server-based database, and the agent has one of the following triggers:

  • When new mail arrives
  • When documents have been created or modified
  • On schedule hourly, daily, weekly, or monthly

The IsOnServer property returns False for scripts activated by the paste trigger.

Example