QueryService.GetSearchMetadata Method

SharePoint 2010

Returns a list of all the properties and scopes in an ADO.NET DataSet.

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

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

returnValue = instance.GetSearchMetadata()

Return Value

Type: System.Data.DataSet
A DataSet object containing two DataTable objects.

The data set returned by the GetSearchMetadata web method contains two data tables, described in the following table.

Name

Description

Columns

Properties

Contains the list of properties for the search service.

Name

Type

AllowScoping

Retrievable

MultiValued

AllowInFullTextQuery

Scopes

Contains the list of scopes for the search service.

Name

IsGlobal

Consumer

Community Additions

ADD
Show: