다음을 통해 공유


QueryService.GetPortalSearchInfo Method

Returns a list of scopes for the SharePoint Server search. This method is deprecated and should not be used in new applications.

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

Syntax

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

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

Return Value

Type: System.String
A string containing XML with the list of scopes.

See Also

Reference

QueryService Class

QueryService Members

Search Web Service