Returns the database handle of the object referenced by this ObjectId object.
Returns NULL if no database object is referenced by this ObjectId object.
If this ObjectId object has been redirected from another database (possibly an Xref), this function returns the handle for this database.