Share via


SearchParametersType.Restriction Property

The Restriction property gets or sets the query that defines the contents of a search folder.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

Syntax

'Declaration
Public Property Restriction As RestrictionType
    Get
    Set
'Usage
Dim instance As SearchParametersType
Dim value As RestrictionType

value = instance.Restriction

instance.Restriction = value
public RestrictionType Restriction { get; set; }

Property Value

Type: ExchangeWebServices.RestrictionType
The Restriction property returns a RestrictionType object that contains the restriction that is used to filter the results for a search folder.