JavaScript Functions > Virtual Table Server Functions for Single Connection (lrvtc) > Alphabetical Listing of Virtual Table Server Functions (Single Server) > lrvtc.disconnect

lrvtc.disconnect

Disconnects from the server.

Example Global Functions

Syntax

lrvtc.disconnect ( );

lrvtc.disconnect disconnects from the server.

Return Values

Returns zero on success or one of the Error Codes.

Parameterization

All string input arguments can be passed using standard parameterization.

Example

    var rc;
    ...
    rc = lrvtc.disconnect();
    lr.logMessage("Disconnect result rc="+ rc);