_Application.Quit Method

Closes all currently open windows.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

[DispIdAttribute()]
void Quit()

The associated Outlook session is closed completely; the user is logged out of the messaging system and any changes to items not already saved are discarded.

Show: