FairCom Corporation


4.3.82 ctdbFindActiveDatabaseByUID


Locate an active database by its unique identifier.

Declaration

CTHANDLE ctdbFindActiveDatabaseByUID(CTHANDLE Handle, ULONG uid)

Description

ctdbFindActiveDatabaseByUID locates a database in a session by its unique identifier, and returns its handle. Use ctdbFindActiveDatabase to find an active database by name. Use ctdbGetDatabaseUID to retrieve the database UID.

Returns

ctdbFindActiveDatabaseByUID returns the database handle or NULL if not found.

See also

ctdbFindDatabaseByUID, ctdbFindActiveDatabase, ctdbGetDatabaseUID


FairCom Corporation
www.faircom.com