Saturday, August 24, 2013

SharePoint 2010 Object Model

What is SharePoint 2010 Object Model ?


If you want to retrieve the properties and the methods to operate on them then you have to do programming against SharePoint items, what we need.

The SharePoint Object Model in SharePoint 2010 provides different classes to accomplish this.

There are 2 Object Models in SharePoint 2010:
  1. Server Object Model
  2. Client Object Model

To talk about the SharePoint 2010 Server Object Model, the Server Object Model classes are used for server-side programming and will be executed on the SharePoint Server Farm.

Namespace Used in SharePoint 2010 Object Model:

The Server Object Model classes reside in the Microsoft.SharePoint assembly.
The general classes are available in the Microsoft.SharePoint namespace and the administration classes inside the Microsoft.SharePoint.Administration namespace.

There are classes available to access the properties and objects of SharePoint 2010 server model-

SPFarm
Farm
SPServer
Server
SPSite
Site Collection
SPWeb
Web site
SPControl
Control
SPList
List
SPDocumentLibrary
Document Library
SPContentType
Content Type
SPUser
User
SPException
SharePoint Exception

Related Posts:

  • SharePoint 2010 Object ModelWhat is SharePoint 2010 Object Model ?If you want to retrieve the properties and the methods to operate on them then you have to do programming against SharePoint items, what we need.The SharePoint Object Model in SharePoint … Read More