SharePoint 2010 Client Object Model Guidelines

This section of the SharePoint 2010 SDK describes a few limitations in how the client object model can be used, and provides tips about the best ways to develop solutions through its library.

Applies to: SharePoint Foundation 2010

Available in SharePoint Online

Using the client object model in SharePoint Foundation 2010 requires that you follow certain rules. When you use the client object model, keep in mind that it uses a SQL-like programming pattern: You must declare what you want and execute the query before you can access the data.

In This Section

Call Load and ExecuteQuery Before Accessing Value Properties

Value Objects Cannot Be Used Across Methods in a Query

SharePoint Client Objects Can Be Used Across Methods in a Query

Group Data Retrieval on the Same SharePoint Client Object

Retrieving a SharePoint Client Object Does Not Retrieve All Properties

See Also

Concepts

SharePoint 2010 Client Object Model Hierarchy and Identity

Client Context as Central Object

Client Objects, Value Objects, and Scalar Properties

Data Retrieval Overview

SharePoint Client Object Creation

Differences Between Managed and JavaScript Object Models

Authentication in the Managed Client Object Models

Client Object Model Distribution and Deployment

Common Programming Tasks in the Managed Client Object Model

Other Resources

Client Class Library

JavaScript Class Library

Using the SharePoint Foundation 2010 Managed Client Object Model

Client Object Model Resource Center