Daylight v4.9
Release Date: 1 February 2008

Name

dt_getdatabases - get the current list of databases in a server's search path

Generic Prototype

dt_getdatabases(dt_Handle) => dt_Handle

C Prototype

#include "dt_thor.h"

dt_Handle dt_getdatabases(dt_Handle object)

FORTRAN Prototype

include 'dt_f_thor.inc'

integer*4 dt_f_getdatabases(object)

integer*4 object

Description

Gets the current list of all databases in the server's search path. Each string contains the complete file system name of the database. The database names are returned in no particular order.

The calling application is responsible for deallocating the strings and sequence (the strings are not automatically deallocated when the sequence is deallocated).

Return Value

Returns a sequence of strings. For objects other than servers, this property is defined as NULL_OB.

Related Topics

dt_getsearchpath(3) dt_getusers(3) dt_ping(3) dt_server(3) dt_setsearchpath(3)