IImnAccount::SetAsDefault method

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

Makes the account the default for the server types that it supports.

Syntax

HRESULT SetAsDefault();

Parameters

This method has no parameters.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_FAIL
Indicates that an account cannot be found.

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)