_NameSpace.Accounts Property
Returns an Accounts collection object that represents all the Account objects in the current profile. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property Accounts As Accounts
Get
'Usage
Dim instance As _NameSpace
Dim value As Accounts
value = instance.Accounts
[DispIdAttribute()]
Accounts Accounts { get; }
Property Value
Type: Microsoft.Office.Interop.Outlook.Accounts
Remarks
If Outlook is running in sessionless mode, Accounts returns an Accounts collection with _Accounts.Count equal to 0.