Compartilhar via


SPList.ParentWebUrl Property

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.ServerRelativeUrl)> _
Public ReadOnly Property ParentWebUrl As String
    Get
'Usage
Dim instance As SPList
Dim value As String

value = instance.ParentWebUrl
[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.ServerRelativeUrl)]
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