NameSpace.Accounts Property

Outlook Developer Reference

Returns an Accounts collection object that represents all the Account objects in the current profile. Read-only.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.Accounts

expression   A variable that represents a NameSpace object.

Remarks

If Outlook is running in sessionless mode, Accounts returns an Accounts collection with Accounts.Count equal to 0.

See Also