Share this page

# TC.vtcDisconnect

Disconnects from the server.

Equivalent method in VuGen: lrvtc_disconnect

    TC.vtcDisconnect(vtsName);

## Arguments

vtsName. (Optional, string) The alias of the VTS server.

## Return value

A promise that is fulfilled with 0 if completed successfully.

## Example

Copy code

    (async ()=>{
        let ret = await TC.vtcDisconnect("vtsName");
    })();

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: