Muokkaa

Jaa


NameSpace object (Outlook)

Represents an abstract root object for any data source.

Remarks

The object itself provides methods for logging in and out, accessing storage objects directly by ID, accessing certain special default folders directly, and accessing data sources owned by other users.

Use GetNameSpace ("MAPI") to return the Outlook NameSpace object from the Application object.

The only data source supported is MAPI, which allows access to all Outlook data stored in the user's mail stores.

Events

Name
AutoDiscoverComplete
OptionsPagesAdd

Methods

Name
AddStore
AddStoreEx
CompareEntryIDs
CreateContactCard
CreateRecipient
CreateSharingItem
Dial
GetAddressEntryFromID
GetDefaultFolder
GetFolderFromID
GetGlobalAddressList
GetItemFromID
GetRecipientFromID
GetSelectNamesDialog
GetSharedDefaultFolder
GetStoreFromID
Logoff
Logon
OpenSharedFolder
OpenSharedItem
PickFolder
RemoveStore
SendAndReceive

Properties

Name
Accounts
AddressLists
Application
AutoDiscoverConnectionMode
AutoDiscoverXml
Categories
Class
CurrentProfileName
CurrentUser
DefaultStore
ExchangeConnectionMode
ExchangeMailboxServerName
ExchangeMailboxServerVersion
Folders
Offline
Parent
Session
Stores
SyncObjects
Type

See also

NameSpace Object Members How to: Obtain and Log On to an Instance of Outlook Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.