Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






getDirectory method

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

Note This method is new with Release 8.5.

Defined in

Session

Syntax

public Directory getDirectory([String server])

throws NotesException

Parameters

String server

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 isUseContextServer property is used.

Return value

Directory

The directory on the server you specified.

Usage

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

See the Directory class for descriptions and examples.

Language cross-reference

GetDirectory method in LotusScript NotesSession class




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009