LOTUSSCRIPT/COM/OLE CLASSES
Examples: GetEnvironmentValue method
1. 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" )
2. 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)
Véase también
GetEnvironmentValue method
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa
Glosario
¿Desea opinar sobre la Ayuda?
Ayuda sobre la Ayuda
Abrir la Ayuda en pantalla completa