Partager via


_Store.IsInstantSearchEnabled Property

Returns a Boolean (bool in C#) that indicates whether Instant Search is enabled and operational on a store. Read-only.

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

Syntax

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

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

Property Value

Type: System.Boolean

Remarks

Use IsInstantSearchEnabled to evaluate whether you should use ci_startswith or ci_phrasematch operators in your query. If you use ci_startswith or ci_phrasematch in the query and Instant Search is not enabled, Outlook will return an error.

See Also

Reference

_Store Interface

_Store Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Use Instant Search to Search All Folders and All Stores for a Phrase in the Subject

How to: Search Attachments of Items in a Folder for an Exact Phrase

How to: Filter Recurring Appointments and Search for a String in the Subject