MOSS Question:
Download Questions PDF

What is the difference between SPSite and SPWeb object?

Answer:

Difference between SPSite and SPWeb object

SPSite
The SPSite object represents a collection of sites, i.e. Site Collection, a top level site and all its sub sites.

SPWeb
The SPWeb object represents an instance of a SharePoint Web, and the SPWeb object contains things like the actual content

Download MOSS Interview Questions And Answers PDF

Previous QuestionNext Question
What is the role of SPWeb.EnsureUser method?What is the role of SPWebApplication object?