Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between SharePoint Web and Site [closed]

Could anybody explain the difference between SP.Web and SP.Site entities? As I understand SP.Site contains different SP.Webs, that represent SiteCollections. Is it correct? Could you please share any links for better understanding this approach?

like image 240
Warlock Avatar asked Nov 11 '12 19:11

Warlock


People also ask

What does closing a SharePoint site do?

Closing a site indicates that the site is no longer in use and can eventually be deleted according to a schedule. A closed site does not appear in places like Delve, but users can still modify the closed site and its content by using the URL to reach the site.

What are the two types of SharePoint sites?

Foundationally, SharePoint has two different types of sites in the modern experience - communication sites and team sites. Each type of site has it's own set of templates that contain pre-populated content, pages, and web parts that can be customized to fit the needs of your organization.

What is SharePoint web?

SharePoint Web Parts are segmental components that shape the basic building block of a page on SharePoint sites. Web parts can help customize intranet content, layout and a set of adjustable scripts in certain pages via the web interface.

What is the difference between a website and site collection?

SharePoint Site is a website that contains different SharePoint Web Parts like Document Library, Calendar, Task List, etc. SharePoint sites can have 1 or more pages to display content to the user. SharePoint Site Collection, just as the name implies, is a collection of SharePoint Sites.


1 Answers

Basically:

UI Term          API Class Name
-------          --------------
Site Collection  SPSite
Site             SPWeb

For further information, see the following:

SPWeb.Webs, Site vs SubSite

Getting my head round spsite vs spweb vs anything else

SPSite vs SPWeb, Site Collection vs Site

like image 181
Petri K Avatar answered Sep 30 '22 19:09

Petri K