PR_RESOURCE_FLAGS not visible in message store

Jun 23, 2014 at 7:47 AM
Edited Jun 25, 2014 at 4:28 AM
I have logged in a profile and select one message store. PR_RESOURCE_FLAGS is not visible in its properties.
Jun 23, 2014 at 1:25 PM
This isn't a message store property. Look in the status table or the services in the profile.
Jun 24, 2014 at 6:08 AM
How to check STATUS_DEFAULT_STORE flag in PR_RESOURCE_FLAGS in status table. Its showing 0 in all 5 rows.
Jun 24, 2014 at 2:23 PM
Look at the services table for the profile to find SERVICE_DEFAULT_STORE.
Jun 25, 2014 at 4:51 AM
Edited Jun 25, 2014 at 5:00 AM
I still didn't get where STATUS_DEFAULT_STORE flag is present in PR_RESOURCE_FLAGS. I have searched everything. I asked for that because as given in Opening the Default Message Store, I have retrived the message store.

I have used:

1) MAPILogonEx

2) IMAPISession::GetMsgStoresTable

3) Applying restriction

4) HrQueryAllRows

So, I felt it should be in the message store property.
Jun 25, 2014 at 12:42 PM
It's still not a message store property. It is, however, present as a row in the message store table, hence the restriction can work.

It's not always the case that a property present in the row of a table is also present in the object that the row in the table describes. This is one of those cases. You'll see several more cases like that in the attachment and recipient tables. The table rows can and do contain additional metadata about the object they reference.