C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » Sharepoint »

Define object model in sharepoint


Posted Date: 05 Dec 2008      Posted By: s.govardhan reddy      Member Level: Bronze     Points: 1   Responses: 3



Define object model,in which cases we go for the sharepoint object model.Give me some scenario's





Responses

Author: gowthami chowdary    05 Dec 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 4

As an alternative to programming against the SharePoint web services you can use the SharePoint object model. The object model can be used when the application will run on the server where SharePoint is installed (such as a console or WinForm application) or in assemblies that are run within a site (such as a Web Part).

If you want more information please go through the link specified below:

http://geekswithblogs.net/marocanu2001/archive/2008/01/28/sharepoint-object-model-tips.aspx

http://programmingsharepoint.blogspot.com/2008/02/introduction-to-sharepoint-object-model.html



Author: Prajho    05 Dec 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Hi,

refer the below link,

http://www.sharepointblogs.com/smc750/archive/2007/09/25/deep-dive-sharepoint-2007-object-model.aspx

regards,

viji



Author: LOGESHWARAN    13 Feb 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 6

In Sharepoint Object model there are two Important namespaces.

The Microsoft.Office.Server namespace is the root namespace of all Office Server objects and Microsoft.SharePoint is the root namespace for all WSS objects.

The Chart Below illustrates some of the key classes contained in each of these namespaces, as well as to which functional area they belong.

Document Libraries (Microsoft.SharePoint)
SPDocumentLibrary , SPPictureLibrary

Business Data Catalog (Microsoft.Office.Server.ApplicationRegistry.Administration)
EntityCollection , ApplicationRegistry

Features (Microsoft.SharePoint)
SPFeatureDefinition, SPFeatureScope, SPElementDefinition, SPFeature, SPFeatureProperty

Sites (Microsoft.SharePoint)
SPSite, SPSiteAdministration, SPSiteCollection, SPWeb

Meetings (Microsoft.SharePoint.Meetings)
SPMeeting, MtgUtility

User Profiles (Microsoft.Office.Server.UserProfiles)
UserProfile, UserProfileManager

Solutions (Microsoft.SharePoint.Administration)
SPsolution, SPFeatureReceiver, SPSolutionCollection

Lists (Microsoft.SharePoint)
SPList, SPListItem, SPListItemCollection

Note:
* To use the SharePoint API, your code must reside on one of the machines in a SharePoint
application server farm. Your code can still work with other sites in the farm from any
other site in the farm, but you cannot, for example, work with the SharePoint API from a
machine on which MOSS or WSS is not installed.

* The only practical way to consume SharePoint data and functionality from a remote client is to use the SharePoint web services.

* The object model is not designed to support Remoting.

* To add a reference to a Sharepoint API, Right-click the project(in VS) and select Add Reference. Click the Browse tab and select the
following directory:
C:\program files\common files\microsoft shared\web server extensions\12\isapi

refer this link

http://programmingsharepoint.blogspot.com/2008/02/introduction-to-sharepoint-object-model.html

REGARDS
LOGESHWARAN.P
mailto: logesh_ajax@logeshwaran.co.cc



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Calling a WebService on Sharepoint From C++
Previous : Difference between lists an excl sheets in sharepoint
Return to Discussion Forum
Post New Message
Category: Sharepoint

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use