Quota information on local replica

I am using SizeQuota property of database class and would like to use it to display the quota value even for local replica of mail box.Is it possible to do it?

It’s always returning “0”.

Cyrille

Subject: Quota information on local replica

it always returns zero for local replicas because quota information is one of those things that does not replicate, so even though it’s technically possible what you actually want cannot be done using the database properties.

a workaround would be to store the quota size in a profile document (create a new one or co-opt an existing one) as well and query that instead.