Examples: Parent property (NotesDatabase - LotusScript®)

This script gets the current Notes® session. It then displays the name of the platform on which the current session is running; for example, if the script is running in Windows, it might display "Windows/32."

Dim db As New NotesDatabase( "Tegucigalpa", "cbanner.nsf" )
Dim session As NotesSession
Set session = db.Parent
Messagebox( session.Platform )