Compartilhar via


RootWeb Property

The RootWeb property of the SPSite class gets the root Web site of the site collection.

Property Value

A Microsoft.SharePoint.SPWeb object that represents the root Web site.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security