Share via


QueryService.GetSearchMetadata Method

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

Namespace:  websvcSearch
Assembly:  MOSSSOAP (in MOSSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata", RequestNamespace := "https://microsoft.com/webservices/OfficeServer/QueryService",  _
    ResponseNamespace := "https://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()
[SoapDocumentMethodAttribute("https://microsoft.com/webservices/OfficeServer/QueryService/GetSearchMetadata", RequestNamespace = "https://microsoft.com/webservices/OfficeServer/QueryService", 
    ResponseNamespace = "https://microsoft.com/webservices/OfficeServer/QueryService", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public DataSet GetSearchMetadata()

Return Value

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

Remarks

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

See Also

Reference

QueryService Class

QueryService Members

websvcSearch Namespace