FindItemType.Restriction Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the search parameters that define an item query for a FindItem operation.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

Syntax

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

value = instance.Restriction

instance.Restriction = value
public RestrictionType Restriction { get; set; }
public:
property RestrictionType^ Restriction {
    RestrictionType^ get ();
    void set (RestrictionType^ value);
}
member Restriction : RestrictionType with get, set

Property Value

Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.RestrictionType
The search parameters that define the item query.

Remarks

The Restriction property contains all the comparison arguments that the query filter includes. It can contain the following search expressions:

  • And

  • Contains

  • Excludes

  • Exists

  • IsEqualTo

  • IsGreaterThan

  • IsGreaterThanOrEqualTo

  • IsLessThan

  • IsLessThanOrEqualTo

  • IsNotEqualTo

  • Not

  • Or

This property is optional.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

FindItemType Class

FindItemType Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace