SearchServiceApplicationProxy.GetSearchTerms Method
Gets the terms to which a keyword Search query has been restricted.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetSearchTerms ( _
properties As KeywordQueryProperties _
) As String
'Usage
Dim instance As SearchServiceApplicationProxy
Dim properties As KeywordQueryProperties
Dim returnValue As String
returnValue = instance.GetSearchTerms(properties)
public string GetSearchTerms(
KeywordQueryProperties properties
)
Parameters
properties
Type: Microsoft.Office.Server.Search.Query.KeywordQueryPropertiesThe properties for a Search query.
Return Value
Type: System.String
The terms to which a keyword Search query has been restricted.
Exceptions
Exception | Condition |
---|---|
Exception | An error, such as a SearchServiceApplicationFault, occurred during application execution. |
Remarks
The properties parameter must be specified before this method is called.
See Also
Reference
SearchServiceApplicationProxy Class