Pregunta

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?

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top