Share this page

# TCA.vtcDisconnect

Disconnects from the server.

Equivalent method in VuGen VTS: lrvtc_disconnect

    TCA.vtcDisconnect(vtsName);

## Arguments

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

## Return value

A promise that is fulfilled with 0 if completed successfully. Upon failure, an exception is thrown.

## Example

Copy code

    TCA.vtcDisconnect("MyVts").then(function(result){
      TCA.done(result);
    }).catch(function (error) {
      TCA.doneWithError(error);
    });

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: