Share via


DSQuery Class

The DSQuery class represents a query used by a data retrieval service.

System.Object

   Microsoft.SharePoint.Dsp.DSQuery

Public Constructors

The following table shows the constructors of the DSQuery class and a brief description of each.

Name Description
DSQuery Initializes a new instance of the DSQuery class.

Public Properties

The following table shows the properties of the DSQuery class, the data type of each property, and a brief description of each.

Name Data type Description
ColumnMapping Microsoft.SharePoint.Dsp.ColumnMappingType Gets or sets the XML format that is used for data returned in the query.
ComparisonLocale String Gets or sets the locale that the server uses for string comparisons.
DspQuery Microsoft.SharePoint.Dsp.DspQuery Gets or sets the filter, column selection, sorting, and row limit used in the query.
HasStartPosition Boolean Gets a Boolean value that indicates whether the StartPosition property has been set.
ResultContent Microsoft.SharePoint.Dsp.ResultContentType Gets or sets the type of content that is returned through the query.
ResultNamespace String Gets or sets the namespace to use on the query result.
ResultPrefix String Gets or sets a prefix for the result namespace.
ResultRoot String Gets or sets the root name for the XML payload.
ResultRow String Gets or sets a row element name for the XML payload.
Select String Gets or sets an XPath expression that specifies the data item that the client is querying against.
StartPosition String Gets or sets a string that identifies the beginning of the next page when paging is supported by the data retrieval service.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.Dsp

Platforms: Microsoft Windows Server 2003

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

Security: Code Access Security