Редагувати

Поділитися через


Store.IsOpen property (Outlook)

Returns a Boolean that indicates if the Store is open. Read-only.

Syntax

expression.IsOpen

expression A variable that represents a Store object.

Remarks

This property supports both Exchange and non-Exchange stores.

IsOpen only indicates if the store is open. It does not indicate if the store is offline, or if it is an Exchange mailbox or an Exchange Public Folder and the store server is down.

Because opening a store can impose a performance overhead, and Store.GetRootFolder and Store.GetSearchFolders will open a store if it is not already open, you can use IsOpen before deciding to call GetRootFolder or GetSearchFolders to minimize performance overhead.

See also

Store Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.