SPWebInfo.ServerRelativeUrl property

URL relative to the Web site server.

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

Syntax

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

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

Property value

Type: System.String
A String representation of the server relative URL.

See also

Reference

SPWebInfo class

SPWebInfo members

Microsoft.SharePoint namespace