NameSpace Properties

Include Protected Members
Include Inherited Members

The NameSpace type exposes the following members.

Properties

  Name Description
Public property Accounts Returns an Accounts collection object that represents all the Account objects in the current profile. Read-only. (Inherited from _NameSpace.)
Public property AddressLists Returns an AddressLists collection representing a collection of the address lists available for this session. Read-only. (Inherited from _NameSpace.)
Public property Application Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _NameSpace.)
Public property AutoDiscoverConnectionMode Returns an OlAutoDiscoverConnectionMode constant that specifies the type of connection to the Exchange server for auto-discovery service. Read-only. (Inherited from _NameSpace.)
Public property AutoDiscoverXml Returns a String (string in C#) that represents information in XML retrieved from the auto-discovery service of an Exchange server. Read-only. (Inherited from _NameSpace.)
Public property Categories Returns or sets a Categories object that represents the set of Category objects available to the namespace. Read/write. (Inherited from _NameSpace.)
Public property Class Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _NameSpace.)
Public property CurrentProfileName Returns a String (string in C#) representing the name of the current profile. Read-only. (Inherited from _NameSpace.)
Public property CurrentUser Returns the display name of the currently logged-on user as a Recipient object. Read-only. (Inherited from _NameSpace.)
Public property DefaultStore Returns a Store object representing the default Store for the profile. Read-only. (Inherited from _NameSpace.)
Public property ExchangeConnectionMode Returns an OlExchangeConnectionMode constant that indicates the current connection mode the user is using. Read-only. (Inherited from _NameSpace.)
Public property ExchangeMailboxServerName Returns a String (string in C#) value that represents the name of the Exchange server on which the active mailbox is hosted. Read-only. (Inherited from _NameSpace.)
Public property ExchangeMailboxServerVersion Returns a String (string in C#) value that represents the full version of the Exchange server on which the active mailbox is hosted. Read-only. (Inherited from _NameSpace.)
Public property Folders Returns the Folders collection that represents all the folders contained in the specified NameSpace. Read-only. (Inherited from _NameSpace.)
Public property MAPIOBJECT This object, member, or enumeration is deprecated and is not intended to be used in your code. (Inherited from _NameSpace.)
Public property Offline Returns a Boolean (bool in C#) indicating True if Outlook is offline (not connected to an Exchange server), and False if online (connected to an Exchange server). Read-only. (Inherited from _NameSpace.)
Public property Parent Returns the parent Object of the specified object. Read-only. (Inherited from _NameSpace.)
Public property Session Returns the NameSpace object for the current session. Read-only. (Inherited from _NameSpace.)
Public property Stores Returns a Stores collection object that represents all the Store objects in the current profile. Read-only. (Inherited from _NameSpace.)
Public property SyncObjects Returns a SyncObjects collection containing all Send\Receive groups. Read-only. (Inherited from _NameSpace.)
Public property Type Returns a String (string in C#) indicating the type of the specified object. Read-only. (Inherited from _NameSpace.)

Top

See Also

Reference

NameSpace Interface

Microsoft.Office.Interop.Outlook Namespace