Compartilhar via


IsRootWeb Property

The IsRootWeb property of the SPWeb class gets a Boolean value that indicates whether the site is the top-level Web site of the site collection.

Property Value

true if the site is the top-level Web site; otherwise, false.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security