Partilhar via


NameSpace Object Members

Outlook Developer Reference

Represents an abstract root object for any data source.

Methods

  Name Description
Bb176693.methods(en-us,office.12).gif AddStore Adds a Personal Folders (.pst) file to the current profile.
Bb176693.methods(en-us,office.12).gif AddStoreEx Adds a Personal Folders file (.pst) in the specified format to the current profile.
Bb176693.methods(en-us,office.12).gif CompareEntryIDs Returns a Boolean value that indicates if two entry ID values refer to the same Outlook item.
Bb176693.methods(en-us,office.12).gif CreateRecipient Creates a Recipient object.
Bb176693.methods(en-us,office.12).gif CreateSharingItem Creates a new SharingItem object.
Bb176693.methods(en-us,office.12).gif Dial Displays the New Call dialog box that allows users to dial the primary phone number of a specified contact.
Bb176693.methods(en-us,office.12).gif GetAddressEntryFromID Returns an AddressEntry object that represents the address entry specified by ID.
Bb176693.methods(en-us,office.12).gif GetDefaultFolder Returns a Folder object that represents the default folder of the requested type for the current profile, for example, obtains the default Calendar folder for the user who is currently logged on.
Bb176693.methods(en-us,office.12).gif GetFolderFromID Returns a Folder object identified by the specified entry ID (if valid).
Bb176693.methods(en-us,office.12).gif GetGlobalAddressList Returns an AddressList object that represents the Exchange Global Address List.
Bb176693.methods(en-us,office.12).gif GetItemFromID Returns a Microsoft Outlook item identified by the specified entry ID (if valid).
Bb176693.methods(en-us,office.12).gif GetRecipientFromID Returns a Recipient object identified by the specified entry ID (if valid).
Bb176693.methods(en-us,office.12).gif GetSelectNamesDialog Obtains a SelectNamesDialog object for the current session.
Bb176693.methods(en-us,office.12).gif GetSharedDefaultFolder Returns a Folder object that represents the specified default folder for the specified user.
Bb176693.methods(en-us,office.12).gif GetStoreFromID Returns a Store object that represents the store specified by ID.
Bb176693.methods(en-us,office.12).gif Logoff Logs the user off from the current MAPI session.
Bb176693.methods(en-us,office.12).gif Logon Logs the user on to MAPI, obtaining a MAPI session.
Bb176693.methods(en-us,office.12).gif OpenSharedFolder Opens a shared folder referenced through a URL or file name.
Bb176693.methods(en-us,office.12).gif OpenSharedItem Opens a shared item from a specified path or URL.
Bb176693.methods(en-us,office.12).gif PickFolder Displays the Pick Folder dialog box.
Bb176693.methods(en-us,office.12).gif RemoveStore Removes a Personal Folders file (.pst) from the current MAPI profile or session.
Bb176693.methods(en-us,office.12).gif SendAndReceive Initiates immediate delivery of all undelivered messages submitted in the current session, and immediate receipt of mail for all accounts in the current profile.

Properties

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

Events

  Name Description
Bb176693.events(en-us,office.12).gif AutoDiscoverComplete Occurs after Outlook has finished accessing the auto-discovery service of an Exchange server and has the related information available in NameSpace.AutoDiscoverXml.
Bb176693.events(en-us,office.12).gif OptionsPagesAdd Occurs whenever the Options dialog box (on the Tools menu) or a folder Properties dialog box is opened.