Share via


QueryRule.ContextConditions property

Gets the collection of Query Contexts associated with the QueryRule

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property ContextConditions As ContextConditionCollection
    Get
    Private Set
'Usage
Dim instance As QueryRule
Dim value As ContextConditionCollection

value = instance.ContextConditions
[DataMemberAttribute]
public ContextConditionCollection ContextConditions { get; private set; }

Property value

Type: Microsoft.Office.Server.Search.Query.Rules.ContextConditionCollection

See also

Reference

QueryRule class

QueryRule members

Microsoft.Office.Server.Search.Query.Rules namespace