Examples: NotesVersion property (NotesSession - LotusScript®)

This form action script gets the release of Notes® currently running and puts it in the variable version. For example, if the script runs on a workstation with Notes® Release 4, the NotesVersion property returns "Notes® Release 4." If the script runs on a server with Notes® Release 4.1, the NotesVersion property returns "Notes® Release 4.1."

Dim session As New NotesSession
Dim version As String
version = session.NotesVersion