_Store.IsOpen Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Boolean (bool in C#) that indicates if the Store is open. Read-only.
public:
property bool IsOpen { bool get(); };
public bool IsOpen { get; }
Public ReadOnly Property IsOpen As Boolean
Property Value
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 GetRootFolder() and 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.