Multiple choice technology

Select the correct mapping with respect to Items and Object representing them in SharePoint Object Model (Multiple Selection)

  1. Site Collection = SPSite

  2. Site Collection = SPWeb

  3. Sub Site = SPWeb

  4. Sub Site = SPSite

Reveal answer Fill a bubble to check yourself
A,C Correct answer
Explanation

In the SharePoint Object Model, SPSite represents a Site Collection and SPWeb represents a site (which can be the top-level site of a collection or a subsite). Therefore Site Collection = SPSite and Sub Site = SPWeb are the correct mappings. The inverse mappings are incorrect.