Search This Blog

Wednesday, October 29, 2014

NotesDatabase.Server - returns server name in any format


Though I work with Lotus Notes as long as I remember myself as a human being I still can be surprised by things which I thought I knew at the level of reflexes.

Did you know that NotesDatabase.Server property may return server name in ANY format?

I didn't. Today I discovered that and after quick research I found this article.

In my case I got NotesDatabase server as a NotesDocument.ParentDatabase property.

So, from this day I will always use explicit name casting, like NotesSession.CreateName(name).Canonical

No comments:

Post a Comment