Source.CreateQueryTransform method (String)
Creates a QueryTransform for the source.
Namespace: Microsoft.Office.Server.Search.Administration.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function CreateQueryTransform ( _
queryTemplate As String _
) As QueryTransform
'Usage
Dim instance As Source
Dim queryTemplate As String
Dim returnValue As QueryTransform
returnValue = instance.CreateQueryTransform(queryTemplate)
public QueryTransform CreateQueryTransform(
string queryTemplate
)
Parameters
queryTemplate
Type: System.StringThe query template to be used for this transform. The query transform is reset if it is null or is white space.
Return value
Type: Microsoft.Office.Server.Search.Query.Rules.QueryTransform
The created QueryTransform object.
Remarks
The query transform is reset if queryTemplate is null or is white space.
See also
Reference
Microsoft.Office.Server.Search.Administration.Query namespace