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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top