IOlkAccountManager::DeleteAccount [Outlook 2003 API Reference]

Deletes the specified account.

Quick Info

See IOlkAccountManager.

HRESULT IOlkAccountManager::DeleteAccount ( 
    DWORD dwAcctID,
);

Parameters

dwAcctID

[in] The account ID of the account to be deleted.

Return Values

E_ACCT_NOT_FOUND

Cannot find the specified account.

E_OLK_NOT_INITIALIZED

The account manager has not been initialized for use.

See Also

Constants for the Account Management API

IOlkAccountManager::FindAccount