SPWebPartManager.ServerRelativeUrl Property
Gets the server relative URL of the current Web Parts page.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property ServerRelativeUrl As String
Get
'Usage
Dim instance As SPWebPartManager
Dim value As String
value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }
Property Value
Type: System.String
The relative URL of the current Web Parts page.