Connector Property

Applies To

PropertyTest object.

Description

Returns the connector between two similar property test values. Can be either of the following MsoConnector constants: msoConnectorAnd or msoConnectorOr. The default value is msoConnectorAnd. Read-only Variant.

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).

See Also

SecondValue property, Value property.

Example

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

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