GetDirectory (NotesSession - LotusScript®)

Creates a new NotesDirectory object using the name of the server you want to access.

Note: This method is new with Release 8.

Defined in

NotesSession

Syntax

Set notesDirectory = notesSession .GetDirectory( [ serverName$ ] )

Parameters

serverName$

String. Optional. The name of the server whose database files you want to navigate. Use an empty string ("") to indicate the current computer. If no server name is specified, the local directory as indicated by the UseContextServer property is used.

Return value

notesDirectory

The directory on the server you specified.

Usage

If this method is run on a server, and the serverName is the name of a different server, the current server must have a Trusted relationship with the specified server.