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 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: