Share via


KeywordQuery.HiddenConstraints Property

Gets or sets the keyword query’s hidden constraints.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property HiddenConstraints As String
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.HiddenConstraints

instance.HiddenConstraints = value
public string HiddenConstraints { get; set; }

Property Value

Type: System.String
A string that contains the constraints.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace

Other Resources

Enterprise Search Keyword Syntax Reference

Enterprise Search Query Object Model Overview

Walkthrough: Creating a Custom Enterprise Search Web Part