Compartilhar via


PageLayout.ServerRelativeUrl Property

Gets the server-relative URL of this PageLayout object.

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

Syntax

'Declaration
Public ReadOnly Property ServerRelativeUrl As String
    Get
'Usage
Dim instance As PageLayout
Dim value As String

value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }

Property Value

Type: System.String
The server-relative URL of this PageLayout object.

Remarks

The user must have permissions on the PageLayout object to retrieve it initially and to get any of its property values.

See Also

Reference

PageLayout Class

PageLayout Members

Microsoft.SharePoint.Publishing Namespace

ServerRelativeUrl