Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NameSpace.GetStoreFromID Method

Office 2007
Returns a Store object that represents the store specified by ID.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.GetStoreFromID(ID)

expression   A variable that represents a NameSpace object.

Parameters

NameRequired/OptionalData TypeDescription
IDRequiredStringA string value identifying a store.

Return Value
A Store object that has the StoreID property matching

ID.

Remarks

The StoreID property of a Store is unique to the profile for the session. It is equivalent to the MAPI property PR_STORE_ENTRY_ID.

The store must be mounted in order for this method to succeed.

GetStoreFromID returns an error if no store with the specified

ID can be found for the current session.



Community Additions

Show:
© 2014 Microsoft