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);
});