The HangUp method terminates a remote access connection and releases all the system resources associated with it.
Syntax
object.HangUp
The HangUp method syntax has these parts:
|
|
|
| object | An object expression that evaluates to the EasyDial control. |
Return Values
On success, the method returns zero.
On failure, the method returns a non-zero error code. You can get a human readable description of the error by calling the GetErrorString method.
Remarks
You can safely call HangUp in the OnConnecting or OnConnected event handler. However, much of the hanging up process will not happen until the event handler returns.
An application should not call HangUp and then exit immediately. Please refer to WaitUntilHungUp for more information.
|
All rights reserved. |