How to check wheather a database (.nsf) is IMAP enabled or not?

In the Notes client , with the properites of Database in the info Tab one can find out whether the database in IMAP enabled or not.

How to check it with Domino C++ APIs that a database(.nsf ) is IMAP enabled?