PropertyConstraint class

NOTE: This API is now obsolete.

Represents a property constraint and a set of constraining values.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Search.Query.PropertyConstraint

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
<DataContractAttribute(Namespace := "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PropertyConstraint
'Usage
Dim instance As PropertyConstraint
[ObsoleteAttribute("This class is obsolete.")]
[DataContractAttribute(Namespace = "https://www.microsoft.com/sharepoint/search/KnownTypes/2008/08")]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class PropertyConstraint

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

PropertyConstraint members

Microsoft.SharePoint.Search.Query namespace