Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Make Store Type Private Property

Last modified: November 03, 2010

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Treats a secondary store as private.

Exposed on:

IMsgStore : IMAPIProp 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 IMsgStore : 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:

lpGuid:

PS_PUBLIC_STRINGS

ulKind:

MNID_STRING

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.