Utility Functions and C Language Reference > Virtual Table Server Functions (VTS) for C, C#, and Java > Virtual Table Server (VTS) Functions for Single Connection > Alphabetical Listing > lrvtc_disconnect

lrvtc_disconnect

Disconnects from the server.

C Language

VTCERR2 lrvtc_disconnect ( );

C# Language

void vts.disconnect ( );

Java Language

void Lrvtc.disconnect( );
Global Functions

lrvtc_disconnect disconnects from the server.

Return Values

C Language:   Returns zero on success or one of the Error Codes.

C# Language: No return value.

Java Language:   Returns zero on success or one of the Error Codes.

Parameterization

All string input arguments can be passed using standard parameterization.

C Language Example

    int rc;
    ...
    rc = lrvtc_disconnect();
    lr_log_message("Disconnect result rc=%d\n", rc);

    

C# Language Example

.Net Single Connection Example

Java Language Example

Java Single Connection Example