BtServer:SetRelation()

 

<< Click to Display Table of Contents >>

Navigation:  Server Classes > BtServer Class >

 

BtServer:SetRelation()

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Set a relation from this server to the child server.

 

 

 

Prototype

 

 

METHOD SetRelation       (  oChild, uRelation, cRelation  )     CLASS BtServer

 

 

 

Argument(s)

 

 

<oChild>                the server attached to the child server must be specified as a server object.

                 If oChild is NIL all existing relations are cleared.

<uRelation>                the relation code block for the server.

<cRelation>                when the relation is specified as a code block, a string version of the code block can be provided

                 as well; it is returned by the Relation() method.

 

 

 

 

Return

 

 

LOGIC                TRUE if successful, otherwise FALSE

 

 

 

Description

 

 

Sends a NotifyRecordChange message to the child server, if successful.

 

 

 

See Also

 

 

BtServer, BtServer:Relation(), BtServer:SetSelectiveRelation()