SPList.ParentWebUrl property

Gets the URL of the parent Web site for the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

public string ParentWebUrl { get; }

Property value

Type: System.String
A string that contains the URL.

See also

Reference

SPList class

SPList members

Microsoft.SharePoint namespace