Share Point Server Architecture-1

Embed Size (px)

Citation preview

  • 8/8/2019 Share Point Server Architecture-1

    1/4

    SHAREPOINT SERVER ARCHITECTURE

    Server Architecture

    The following diagram shows the Windows SharePoint Services server architecture in relation to thecollections and objects of the Microsoft.SharePoint.Administrationnamespace.

    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.aspx
  • 8/8/2019 Share Point Server Architecture-1

    2/4

    1. 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.

    2. Each SPServer object represents a physical server computer. The ServiceInstances property

    provides access to the set of individual service instances that run on the individual computer.

    3. Each SPService object represents a logical service or application installed in the server farm. A

    service object provides access to server farm-wide settings of the load-balanced service that a

    respective service instance implements. Derived types of the SPService class include, for

    example, objects for Windows services, such as the timer service, search, Microsoft SQL Server,

    the database service, etc. and also objects for Web services, such as Windows SharePoint

    Services or services in the Microsoft Office system.

    4. An SPWebService object provides access to configuration settings for a specific logical service

    or application. The WebApplications property gets the collection of Web applications that run

    the service.

    5. An SPDatabaseServiceInstance object represents a single instance of a database service

    running on the server computer. The SPDatabaseServiceInstance class derives from the

    SPServiceInstance class and thus inherits the Service property, which provides access to the

    service or application that the instance implements. The Databases property gets the collection

    of content databases used in the service.

    6. 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 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.

    7. An SPContentDatabase object inherits from the SPDatabase class and represents a database

    that contains user data for a SharePoint Web application. TheSites property gets the collection

    of site collections for which the content database stores data, and the WebApplication property

    gets the parent Web application.

    8. 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 Addmethod creates a site collection within the collection.

    Site Architecture

    The following diagram shows the Windows SharePoint Services site architecture in relation to thecollections and objects of the Microsoft.SharePoint namespace.

    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.servers.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.servers.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.services.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.services.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserver.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserver.serviceinstances.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spservice.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebservice.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebservice.webapplications.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebservice.webapplications.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabaseserviceinstance.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabaseserviceinstance.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabaseserviceinstance.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserviceinstance.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserviceinstance.service.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabaseserviceinstance.databases.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.sites.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.contentdatabases.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spvirtualserver.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabase.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.sites.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.webapplication.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spsitecollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spsitecollection.item.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spsitecollection.add.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.servers.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spfarm.services.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserver.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserver.serviceinstances.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spservice.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebservice.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebservice.webapplications.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabaseserviceinstance.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserviceinstance.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spserviceinstance.service.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabaseserviceinstance.databases.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.sites.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.contentdatabases.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spvirtualserver.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spdatabase.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.sites.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spcontentdatabase.webapplication.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spsitecollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spsitecollection.item.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spsitecollection.add.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.aspx
  • 8/8/2019 Share Point Server Architecture-1

    3/4

    1. Each SPSite object, despite its singular name, represents a set of logically related SPWeb objects

    (see below). Such a set is commonly called a "site collection," but SPSite is not a standard

    Microsoft .NET collection class, in contrast to SPWebCollection. Rather, it has members that can

    be used to manage the site collection. The AllWebs property provides access to the

    SPWebCollection object that represents the collection of all Web sites within the site collection,

    including the top-level site. The Microsoft.SharePoint.SPSite.OpenWebmethod of the SPSite class

    returns a specific Web site.

    2.

    Each site collection includes any number ofSPWeb 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. The Webs property returns an SPWebCollection object that represents all

    the subsites of a specified site, and the Lists property returns an SPListCollection object that

    represents all the lists in the site.

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

    GetItems method can be used to perform queries that return specific items. The Fields property

    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spwebcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.allwebs.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.openweb.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.lists.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.getitems.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.fields.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spwebcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.allwebs.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.openweb.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.lists.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.getitems.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.fields.aspx
  • 8/8/2019 Share Point Server Architecture-1

    4/4

    returns an SPFieldCollection object that represents all the fields, or columns, in the list, and the

    Items property returns an SPListItemCollection object that represents all the items, or rows, in

    the list.

    4. Each SPField object has members that contain settings for the field.

    5. Each SPListItem object represents a single row in the list.

    If you install "Infrastructure Update for Windows SharePoint Services 3.0 (KB951695)," custom solutions

    may fail if they call the SharePoint object model while impersonation is suspended. If you use Windowsauthentication and your code calls the SharePoint object model from an IIS worker process, the requestmust impersonate the calling users identity. Windows SharePoint Services configures ASP.NET toimpersonate the calling user automatically, but your code may work unexpectedly, or fail, if you suspendimpersonation--for example, by calling the RevertToSelffunction of the Windows API, or by calling theSystem.Security.Principal.WindowsIdentity.Impersonate method and passing IntPtr.Zero as the

    value of the user token parameter. Even if your code does not explicitly revert to self, it might be calledby ASP.NET after it reverts to self, such as happens when implementing a virtual path provider; if yourcode does not impersonate the calling user, it might not function properly.

    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.items.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitemcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.items.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitemcollection.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfield.aspxhttp://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.aspx