LogoutObject
Logs out the logged-in object on the specified connection on the current server
#include <nwcntask.h>
int LogoutObject (
LONG connection);
The following table lists return values and descriptions.
LogoutObject only logs out connections on the current server (currently selected file server ID).
LogoutObject destroys your connection to a remote server. Therefore, if your current connection is to that server, your current connection is changed. On a local server, this function does not destroy your connection.