FindFolderType.Restriction Property

Definition

The Restriction property gets or sets the search parameters that define a folder query. This property is optional. This is a read/write property.

public:
 property ExchangeWebServices::RestrictionType ^ Restriction { ExchangeWebServices::RestrictionType ^ get(); void set(ExchangeWebServices::RestrictionType ^ value); };
public ExchangeWebServices.RestrictionType Restriction { get; set; }
Public Property Restriction As RestrictionType

Property Value

The Restriction property returns a RestrictionType object that contains the search parameters that define the query.

Remarks

The Restriction property, if it is used, should only use the folder properties. The Restriction property can contain the following search expressions:

  • And
  • Contains
  • Excludes
  • Exists
  • IsEqualTo
  • IsGreaterThan
  • IsGreaterThanOrEqualTo
  • IsLessThan
  • IsLessThanOrEqualTo
  • IsNotEqualTo
  • Not
  • Or

Applies to