다음을 통해 공유


QueryService.GetQuerySuggestions Method

Namespace:  [Search Web service]
Web service reference: http://Site/_vti_bin/Search.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/OfficeServer/QueryService/GetQuerySuggestions", RequestNamespace := "https://microsoft.com/webservices/OfficeServer/QueryService",  _
    ResponseNamespace := "https://microsoft.com/webservices/OfficeServer/QueryService",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetQuerySuggestions ( _
    queryXml As String _
) As String()
'Usage
Dim instance As QueryService
Dim queryXml As String
Dim returnValue As String()

returnValue = instance.GetQuerySuggestions(queryXml)
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/OfficeServer/QueryService/GetQuerySuggestions", RequestNamespace = "https://microsoft.com/webservices/OfficeServer/QueryService", 
    ResponseNamespace = "https://microsoft.com/webservices/OfficeServer/QueryService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public string[] GetQuerySuggestions(
    string queryXml
)

Parameters

Return Value

Type: []

See Also

Reference

QueryService Class

QueryService Members

Search Web Service