Cette documentation est archivée et n’est pas conservée.

Microsoft.SharePoint.Dsp, espace de noms

Windows SharePoint Services 3
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.

Classe publiqueAllFieldsUsed in a query to specify that all the fields be returned from the data source.
Classe publiqueAuthenticationThe Authentication class represents the authentication mode that is used to connect to the back-end server.
Classe publiqueConnectionRepresents a connection to a data retrieval service adapter.
Classe publiqueDataRootRepresents the root of the content document for a particular adapter instance.
Classe publiqueDspAdapterImplements the IDspAdapter interface for use by the OleDbAdapter class in performing queries against OLE DB data sources.
Classe publiqueDspQueryDefines the filter used in a query against a data source provider.
Classe publiqueDSQueryRepresents a query used by a data retrieval service.
Classe publiqueFieldRepresents a single column in a query.
Classe publiqueFieldsRepresents the collection of columns that are included in a query.
Classe publiqueOrderFieldRepresents the column by which the result is ordered.
Classe publiquePTQueryRepresents a pass-through query.
Classe publiqueQueryRequestRepresents the request in a query.
Classe publiqueQueryResponseRepresents the response in a query.
Classe publiqueRequestRepresents the request header in a query, containing information about the operation type and the document type of the query.
Classe publiqueRequestHeaderRepresents the request header in a query.
Classe publiqueResponseRepresents the response in a query.
Classe publiqueServerParameterRepresents a server parameter required by the server containing the data source.
Classe publiqueServerParameterInfoRepresents information about the parameters used by the server containing the data source.
Classe publiqueVersionsRepresents the versions of the data retrieval service that are supported by an adapter or the versions being used in a query.

Interface publiqueIDspAdapterProvides a COM interface for clients to access a data retrieval service adapter locally.

Énumération publiqueColumnMappingTypeIndicates the type of XML format used for data returned in a query.
Énumération publiqueDocumentTypeSpecifies the document type for a request.
Énumération publiqueMethodTypeSpecifies the action of the request.
Énumération publiqueOrderDirectionThe OrderDirection enumeration specifies the direction in which a field or column is sorted.
Énumération publiquePagingSupportTypeIndicates the type of paging that is supported for a query.
Énumération publiqueQueryTypeSpecifies a type of query that is used in a request.
Énumération publiqueResponseStatusSpecifies the status of a query response.
Énumération publiqueResultContentTypeIndicates the type of content that is returned through a query.