Site.RootWeb property
Gets a value that returns the top-level site of the site collection.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property RootWeb As Web
Get
'Usage
Dim instance As Site
Dim value As Web
value = instance.RootWeb
public Web RootWeb { get; }
Property value
Type: Microsoft.SharePoint.Client.Web
Returns a Web instance representing the top-level site of the site collection.