Search.IsSynchronous Property
Returns a Boolean (bool in C#) indicating whether the search is synchronous. Read-only.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
<DispIdAttribute()> _
ReadOnly Property IsSynchronous As Boolean
Get
'Usage
Dim instance As Search
Dim value As Boolean
value = instance.IsSynchronous
[DispIdAttribute()]
bool IsSynchronous { get; }
Property Value
Type: System.Boolean
Remarks
A search can be synchronous or asynchronous. If the search is synchronous, code execution will pause until the search has completed. Conversely, if the search is asynchronous, code execution will continue even though the search has not completed. In this case, use the Search object's Stop method to halt the search. In order to get meaningful results from an asynchronous search, use the AdvancedSearchComplete event to notify you when the search has finished.