The MFP.Disconnect statement disconnects from the Message Feed Server.
MFP.Disconnect hMFP;
hMFP parameter is the handle to the Message Feed connection to disconnect. This is a record of type MFP.Handle previously returned by the MFP.Connect function.
When an error occurs, the function throws an exception of type MFP.$Exception and sets the $Error reserved variable to the following value:
MFP.$Error_ErrorDisconnectInvalidid – The hMFP parameter refers an unknown connection handle.
See MFP.Connect