共用方式為


_Store.IsCachedExchange Property

Returns a Boolean (bool in C#) that indicates if the Store is a cached Exchange store. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property IsCachedExchange As Boolean
    Get
'Usage
Dim instance As _Store
Dim value As Boolean

value = instance.IsCachedExchange
[DispIdAttribute()]
bool IsCachedExchange { get; }

Property Value

Type: System.Boolean

Remarks

IsCachedExchange returns True when _Store.ExchangeStoreType is a primary Exchange mailbox (Store.ExchangeStoreType is olExchangePrimaryMailbox) and the mailbox is configured to use cached Exchange mode. It returns False otherwise. In particular, it returns False for an Exchange Public Folder store that is configured to cache Public Folder favorites.

See Also

Reference

_Store Interface

_Store Members

Microsoft.Office.Interop.Outlook Namespace