All Frameworks  Class Hierarchy  This Framework  Indexes

CATPDMBase Global Function DisconnectEV5Server


HRESULT DisconnectEV5Server()
Stops the ENOVIA V5 server to which the client is connected.

Role : This method enables the disconnection to the ENOVIA V5 server.

Caution : Any usage of this method other than in batch process is highly discouraged. Example of prohibited usage is through user-exit or any interactive-based procedure.
 
Returns:
  • S_OK : Disconnection was performed sucessfully
  • E_FAIL : The disconnection has failed. Possible reasons are :
    • Unable to catch the PDM Doc Environment
    • No current connection to a running server
    • Unknown

This object is included in the file: CATPDMInteropServices.h

Copyright © 2003, Dassault Systèmes. All rights reserved.