StsAdapter.Query, méthode (Microsoft.SharePoint.Dsp.Sts)

Windows SharePoint Services 3
Executes a query expressed as a predefined request object.

Espace de noms : Microsoft.SharePoint.Dsp.Sts
Assembly : Microsoft.SharePoint.Dsp.Sts (dans microsoft.sharepoint.dsp.sts.dll)

[SoapHeaderAttribute("Unknown", Direction=SoapHeaderDirection.In)] 
[SoapHeaderAttribute("DataRoot", Direction=SoapHeaderDirection.In)] 
[SoapHeaderAttribute("Versions", Direction=SoapHeaderDirection.InOut)] 
[SoapHeaderAttribute("Authentication", Direction=SoapHeaderDirection.In)] 
[SoapHeaderAttribute("Request", Direction=SoapHeaderDirection.In)] 
public QueryResponse Query (
	QueryRequest Request



A QueryRequest object that expresses a query in DSPQ (data retrieval service query) or Pass-Through format.

Valeur retournée

A QueryResponse object that contains the data in response to the request query.

Before calling the Query method of the StsAdapter class, the caller needs to set the DataRoot, Request, Versions, and optionally the LocalClient properties of the IDspAdapter interface.