SPWebInfo.ServerRelativeUrl Property

URL relative to the Web site server.

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

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