Daylight v4.9
Release Date: 1 February 2008

Name

dt_server - find the server which owns an object

Generic Prototype

dt_server(dt_Handle) => dt_Handle

C Prototype

#include "dt_thor.h"

dt_Handle dt_server(dt_Handle object)

FORTRAN Prototype

include 'dt_f_thor.inc'

integer*4 dt_f_server(object)

integer*4 object

Description

Finds the server which is the ultimate 'ancestor' of the object. For example, dt_server(database) is equivalent to dt_parent(database), but dt_server(hitlist) is equivalent to dt_parent(dt_parent(hitlist)).

Return Value

Returns a server object. For objects which have no server as an ancestor, this property is defined as NULL_OB.

Related Topics

dt_database(3) dt_getdatabases(3) dt_getdatatype(3) dt_getpasswords(3) dt_getsearchpath(3) dt_getusers(3) dt_hold(3) dt_isopen(3) dt_ispublic(3) dt_mer_server(3) dt_open(3) dt_ping(3) dt_release(3) dt_setpassword(3) dt_setsearchpath(3) dt_thor_server(3)