SharePoint Object Model Hierarchy





SPFarm: The SPFarm object is the highest object within the Windows SharePoint Services object model hierarchy. The servers property gets a collection representing all the servers in the deployment and the services property gets a collection representing all the services.

SP SERVER: The Server object represents a physical server computer. The service instances property provides access to the set of individual service instances that run on the individual computer.

SPWebApplication: Each SPWebApplication object represents a load-balanced web application based in Internet Information Services (IIS). The SPWebApplication object provides access to credentials and other server Farm-wide application settings. The Sites property gets the collection of site collections within the web application and theContentDatabases property collection of content databases is used in the web application. The SPWebApplication class replaces the obsolete SPVirtualServer class but it can still be helpful to think of a SPWebApplication object as a virtual server; that is, a set of one or more physical servers that appear as a single server to users.

SP Content Database:
the SPContentDatabase object inherits from the Database class and represents a database that contains user data for a SharePoint web application. The Sites property gets the collection of site collections for which the content database stores data and the WebApplication property gets the parent web application.

SPSiteCollection: An SPSiteCollection object represents the collection of site collections within the web application. The Item property or indexer gets a specified site collection from the collection and the Add method creates a site collection within the collection.

SPWEB: Each site collection includes any number of SPWeb objects and each object has members that can be used to manage a site, including its template and theme, as well as to access files and folders on the site.

SPLIST: Each SPList object has members that are used to manage the list or access items in the list.

ITEMS: Each SPListItem object represents a single row in the list.

Reference:
MSDN

Up Next
    Ebook Download
    View all
    Learn
    View all