Make Store Type Private Property

Make Store Type Private Property

Treats a secondary store as private.

Quick Info

Exposed on: IMsgStore object
Created by: Store provider
Accessed by: Outlook and other clients
Property type: PT_BOOLEAN
Access type: Read/write


To provide any of the store functionality, the store provider must implement IMAPIProp and return a valid property tag for any of these properties passed to an IMAPIProp::GetIDsFromNames call. When the property tag for any of these properties is passed to IMAPIProp::GetProps, the store provider must also return the correct property value. Store providers can call HrGetOneProp and HrSetOneProp to get or set these properties.

To retrieve the value of this property, the client should first use IMAPIProp::GetIDsFromNames to obtain the property tag, and then specify this property tag in IMAPIProp::GetProps to get the value. When calling IMAPIProp::GetIDsFromNames, specify the following values for the MAPINAMEID structure pointed at by the input parameter lppPropNames:

Kind.lpwstrName: L"urn:schemas-microsoft-com:office:outlook#storetypeprivate"

A store provider can use this property to have Outlook treat it as private when it is a secondary store for a user.

By default, Outlook treats a secondary store the same way as a delegate store, and items in the secondary store are private only if the user marks them specifically as private. When this property is true, items deleted from a secondary store are moved to the Deleted Items folder in the primary store. Items marked private are not displayed. Drafts are stored in the Drafts folder in the primary store.

This property is ignored if the version of Outlook is earlier than Microsoft Office Outlook 2003 Service Pack 1, or if its value is false.

See Also

About the Store API

Constants for the Store API

Hide Meeting Update Option Property

Display Server Folder Sizes Property