Condividi tramite


Microsoft.SharePoint.Dsp Namespace

Provides the base class for the data retrieval service adapters used in Microsoft Windows SharePoint Services.

The adapters define a protocol for data consumers to query heterogeneous data sources and for the data sources to return query results back to the consumers, integrating different types of data into a unified format so that they can be related, analyzed, and manipulated easily.

Each data retrieval service provides a data-binding scheme that enables data consumers and data servers to communicate with each other through SOAP or the object model of Windows SharePoint Services. The client side of the data retrieval services consists of data consumers such as applications, data-driven Web Parts, or data-bound server controls. The server side of the data retrieval services is a group of adapters, which are Web services that return XML data from different data sources or that perform data-manipulation operations in those data sources. The following adapters are used in Windows SharePoint Services:

The Microsoft.SharePoint.Dsp.Sts namespace has both an object model and a SOAP interface, while the other three namespaces have only an object model.

The adapters provide an object model that can be used by other Microsoft .NET Framework managed assemblies. Server components can load the assembly of a service directly, eliminating the overhead of calling the service through SOAP. All adapters implement the IDspAdapter interface of the Microsoft.SharePoint.Dsp namespace, and by dynamically loading the data retrieval service assemblies, the same client code can be written to talk to any of the adapters.

Classes

  Class Description
Public class AllFields Obsolete. Used in a query to specify that all the fields be returned from the data source.
Public class Authentication Obsolete. The Authentication class represents the authentication mode that is used to connect to the back-end server.
Public class Connection Obsolete. Represents a connection to a data retrieval service adapter.
Public class DataRoot Obsolete. Represents the root of the content document for a particular adapter instance.
Public class DspAdapter Obsolete. Implements the IDspAdapter interface for use by the OleDbAdapter class in performing queries against OLE DB data sources.
Public class DspQuery Obsolete. Defines the filter used in a query against a data source provider.
Public class DSQuery Obsolete. Represents a query used by a data retrieval service.
Public class Field Obsolete. Represents a single column in a query.
Public class Fields Obsolete. Represents the collection of columns that are included in a query.
Public class OrderField Obsolete. Represents the column by which the result is ordered.
Public class PTQuery Obsolete. Represents a pass-through query.
Public class QueryRequest Obsolete. Represents the request in a query.
Public class QueryResponse Obsolete. Represents the response in a query.
Public class Request Obsolete. Represents the request header in a query, containing information about the operation type and the document type of the query.
Public class RequestHeader Obsolete. Represents the request header in a query.
Public class Response Obsolete. Represents the response in a query.
Public class ServerParameter Obsolete. Represents a server parameter required by the server containing the data source.
Public class ServerParameterInfo Obsolete. Represents information about the parameters used by the server containing the data source.
Public class Versions Obsolete. Represents the versions of the data retrieval service that are supported by an adapter or the versions being used in a query.

Interfaces

  Interface Description
Public interface IDspAdapter Obsolete. Provides a COM interface for clients to access a data retrieval service adapter locally.

Enumerations

  Enumeration Description
Public enumeration ColumnMappingType Obsolete. Indicates the type of XML format used for data returned in a query.
Public enumeration DocumentType Obsolete. Specifies the document type for a request.
Public enumeration MethodType Obsolete. Specifies the action of the request.
Public enumeration OrderDirection Obsolete. The OrderDirection enumeration specifies the direction in which a field or column is sorted.
Public enumeration PagingSupportType Obsolete. Indicates the type of paging that is supported for a query.
Public enumeration QueryType Obsolete. Specifies a type of query that is used in a request.
Public enumeration ResponseStatus Obsolete. Specifies the status of a query response.
Public enumeration ResultContentType Obsolete. Indicates the type of content that is returned through a query.