You create a new NotesDbDirectory object using the name of the server you want to access. You can use the following:
New
Note The New method is not supported in COM.
GetDbDirectory method in NotesSession
Syntax
Dim variableName as New NotesDbDirectory( serverName$ )
or
Set notesDbDirectory = New NotesDbDirectory( serverName$ )
Parameters
serverName$
String. The name of the server that has the database files you want to navigate. Use an empty string ("") to indicate the current computer.