MFP.Disconnect

Description

The MFP.Disconnect statement disconnects from the Message Feed Server.

Syntax

MFP.Disconnect hMFP;

Parameter

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.

Error handling

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.

Example

See MFP.Connect

Related commands

MFP.Connect