4. Designing and Writing OpenROAD Server Applications : How You Can Drive the OpenROAD Server from a Client : COM (Non-OpenROAD) Client Remote Server Object : Terminate Method
 
Share this page                  
Terminate Method
The Terminate method releases any connection that may have been established by a prior Initiate or Connect call, and returns the RSO to its initial state. After calling Terminate, a new Initiate or Connect call can be made.
This method is optional. Simply releasing the RSO and creating a new instance of it achieves the same result as calling Terminate, and the difference in cost is negligible:
HRESULT Terminate
   (
   );
The Terminate method takes no parameters.