FairCom Corporation


4.3.86 ctdbFindDatabaseByUID


Locate a database by its unique identifier.

Declaration

CTDBRET ctdbFindDatabaseByUID(CTHANDLE Handle, ULONG uid, pTEXT Name,
VRLEN NameSize, pTEXT Path, VRLEN PathSize)

Description

ctdbFindDatabaseByUID locates a database in a session by its unique identifier. Use ctdbFindDatabase to find a database by name. Use ctdbGetDatabaseUID to retrieve the database UID.

Returns

ctdbFindDatabaseByUID returns CTDBRET_OK on success, or the c-tree Plus error code on failure.

See also

ctdbFindDatabase, ctdbGetDatabaseUID


FairCom Corporation
www.faircom.com