Sharepoint FAQ

Submit Interview FAQ
Home » Interview FAQ » SharepointRSS Feeds

What is a SPSite and SPWeb object, and what is the difference between each of the objects?

  Shared By: Tarang Nayak    Date: Mar 12    Category: Sharepoint    Views: 1081


The SPSite object represents a collection of sites (site collection [a top level sites and all its subsites]). The SPWeb object represents an instance Sharepoint Web, and SPWeb object contains things like the actual content. A SPSite object contains the various subsites and the information regarding them.


Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].