Function : Database

NSFDbCreate - Creates a new Domino database.
----------------------------------------------------------------------------------------------------------

#include <nsfdb.h>

STATUS LNPUBLIC NSFDbCreate(
const char far *PathName,
USHORT DbClass,
BOOL ForceCreation
);

Description :

This function creates a new Domino database. You also may control whether the call will overwrite an existing database of the same name and the database class.
Parameters :

Sample Usage :


/* Create destination database */

if (error = NSFDbCreate (output_path, DBCLASS_NOTEFILE, FALSE))
{

     /* Close previously opened database */
 NSFDbClose (input_handle);
 API_RETURN (ERR(error));
}


See Also :

OSPathNetConstruct
----------------------------------------------------------------------------------------------------------