Wednesday, July 21, 2010

Sharepoint Object model

Sharepoint Object model

To programmatically deal with your Sharepoint services or officer server you need to
add the references Microsoft.Office.Server or Microsoft.Sharepoint to your
project.
You can find this references under
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\ISAPI

These are my oftenly used classes.Here I categorised these classes

Document Library
SPDocumentLibrary
SPPictureLibrary

Features [ EventHandling in sharepoint you can find these in Feature.XML as attributes]
SPFeature
SPFeatureScope
SPFeatureProperty
SPElementDefinition

Site Level
SPSite
SPSiteCollection
SPWeb
SPSiteAdministration

List Level
SPList
SPListCollection
SPListItem


Solution Level

SPSolution
SPSolutionCollection
SPFeatureReceiver

Meeting

SPMeeting
MtgUtility

User Profile related [ Imports the namespace Microsoft.Office.Server.UserProfiles ]
UserProfiles
UserProfilesManager [ In moss 2007 installed farm,Its obsolete]