Syntax

expression.Connector

expression A variable that represents a PropertyTest object.

Remarks

A connector specifies whether two similar search criteria will be combined to form one property test (as with msoConnectorAnd) or treated independently (as with msoConnectorOr).

Example
This example displays a message that describes how the search criteria will be evaluated in a file search.

Visual Basic for Applications
With Application.FileSearch.PropertyTests(1) If .Connector = msoConnectorAnd Then MsgBox "All search criteria will be combined." Else MsgBox "Criteria will be treated independently" End If End With