-1

I'm trying connect to domino server

How can i connect to domino server with out name of database

For example : i have a ip of server 1.1.1.1 . And in domino server i want list all database file (.nsf file).

I was used

(NotesDatabase)_session.GetDatabase("1.1.1.1","");

But error and i have provide name of database .

Please help me . Thanks

jonny
  • 165
  • 3
  • 13

1 Answers1

4

Use the NotesSession.getDbDirectory() method to instantiate a NotesDbDirectory object, and then use the NotesDbDirectory.getFirstDatabase() and getNextDatabase() methods to iterate through the list of .nsf files.

Richard Schwartz
  • 14,463
  • 2
  • 23
  • 41
  • i've used code here http://stackoverflow.com/questions/1238498/in-c-sharp-get-all-the-nsf-filesnotes-database-from-data-notes-directory-and – jonny Oct 21 '16 at 02:33