This method can be called to log out the user and disconnect the tool from SmartPlant Foundation.
Arguments
None.
Return Value
-
0 if method is successful.
-
A negative number if method fails (check the LastErrorMessage property for error message).