StsAdapter.Query Method

Executes a query expressed as a predefined request object.

Namespace:  Microsoft.SharePoint.Dsp.Sts
Assembly:  Microsoft.SharePoint.Dsp.Sts (in Microsoft.SharePoint.Dsp.Sts.dll)

Syntax

<SoapHeaderAttribute("Unknown", Direction := SoapHeaderDirection.In)> _
<SoapHeaderAttribute("DataRoot", Direction := SoapHeaderDirection.In)> _
<WebMethodAttribute(MessageName := "queryRequest")> _
<SoapHeaderAttribute("Versions", Direction := SoapHeaderDirection.InOut)> _
<SoapHeaderAttribute("Authentication", Direction := SoapHeaderDirection.In)> _
<SoapHeaderAttribute("Request", Direction := SoapHeaderDirection.In)> _
Public Function Query ( _
    Request As QueryRequest _
) As QueryResponse

Dim instance As StsAdapter
Dim Request As QueryRequest
Dim returnValue As QueryResponse

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

Parameters

Return Value

Type: Microsoft.SharePoint.Dsp.QueryResponse
A QueryResponse object that contains the data in response to the request query.

Implements

IDspAdapter.Query(QueryRequest)

Remarks

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.

See Also

Reference

StsAdapter Class

StsAdapter Members

Microsoft.SharePoint.Dsp.Sts Namespace