IImnAccount::Delete method

[IImnAccount::Delete is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Deletes the account from the registry.

Syntax

HRESULT Delete();

Parameters

This method has no parameters.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_RegOpenKeyFailed
Indicates that the registry could not be opened.
E_RegDeleteKeyFailed
Indicates that the account to delete does not exist.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnact.h
IDL
Imnact.idl
DLL
Msoeacct.dll (version 6.0 or later)