CTSession.FindDatabase
Syntax
bool FindDatabase( String Name, StringBuilder Path)
bool FindDatabase( String Name, StringBuilder Path, out ulong uid)
bool FindDatabase(ulong uid, StringBuilder Name, StringBuilder Path)
Parameters
Description
Locates a database in a session. If the prototype FindDatabase(String Name, StringBuilder Path) is used, Name is an input, and the method returns the database path in Path. If the prototype FindDatabase(String Name, StringBuilder Path, out ulong uid) is used, Name is an input, and the method returns the database path, and uid, in Path and uid, respectively. If the prototype FindDatabase(ulong uid, StringBuilder Name, StringBuilder Path) is used, uid is an input, and the method returns the database name, and path in Name and Path respectively.
Return
FindDatabase() returns true if the database is found, false otherwise.
See Also
FirstDatabase(), GetDatabase(), NextDatabase()