StoreSize Property  
 

Returns the total number of messages in the current storage file, including deleted messages.

Syntax

object.StoreSize

Remarks

The StoreSize property returns the total number of messages in the message store, including those messages that have been deleted. Because the StoreCount property value will decrease as messages are deleted, it is recommended that you use this property value when iterating through all of the messages in the message store.

Data Type

Integer (Int32)

See Also

StoreCount Property, StoreFile Property, StoreIndex Property, DeleteMessage Method, FindMessage Method, OpenStore Method, PurgeStore Method