Share via


PortalWebSiteMapNode.ServerRelativeUrl Property

Returns the server relative-URL of the Web site.

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

Syntax

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

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

Property Value

Type: System.String
String that represents the server-relative URL of the Web site.

See Also

Reference

PortalWebSiteMapNode Class

PortalWebSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace

PortalWebSiteMapNode