Вопрос

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