SPView.ServerRelativeUrl Property

Gets the server-relative URL of the view page.

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

[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.ServerRelativeUrl)]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotEmpty)]
public string ServerRelativeUrl { get; }

Property Value

Type: System.String
A string that contains the URL.
Show: