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