QueryRule.CreateGenericContextCondition method (String)

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

Syntax

'Declaration
Public Function CreateGenericContextCondition ( _
    expression As String _
) As GenericContextCondition
'Usage
Dim instance As QueryRule
Dim expression As String
Dim returnValue As GenericContextCondition

returnValue = instance.CreateGenericContextCondition(expression)
public GenericContextCondition CreateGenericContextCondition(
    string expression
)

Parameters

Return value

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

See also

Reference

QueryRule class

QueryRule members

CreateGenericContextCondition overload

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