Disconnect Method
Disconnects from an IMAP server.
Syntax
public void Disconnect();
Public Sub Disconnect()
Remarks
This method logs out and disconnects from the IMAP server.
.NET Standard Notes
To call this method in an asynchronous manner call DisconnectAsync instead. When the method completes (or an error is encountered) the DisconnectCompleted event will fire.