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

'Declaration
Public ReadOnly Property ParentWebUrl As String
    Get
'Usage
Dim instance As SPList
Dim value As String

value = instance.ParentWebUrl
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