Examples: GetEnvironmentValue method
- This script gets the value of a numeric environment variable called
ENVNum and puts it into latestNumber. For example, GetEnvironmentValue
returns 75.
Dim session As New NotesSession Dim latestNumber As Integer latestNumber = session.GetEnvironmentValue( "ENVNum" )
- This script gets the value of the system environment variable
Timezone. For example, GetEnvironmentValue returns 5 if the notes.ini
(or Notes® Preferences) file
contains the line Timezone = 5.
Dim session As New NotesSession Dim zoneNumber As Integer zoneNumber = session.GetEnvironmentValue("Timezone", True)