View.ServerRelativeUrl Property

Gets a value that specifies the server-relative URL of the list view page.

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public ReadOnly Property ServerRelativeUrl As String
    Get
'Usage
Dim instance As View
Dim value As String

value = instance.ServerRelativeUrl
[RemoteAttribute]
public string ServerRelativeUrl { get; }

Property Value

Type: System.String
Returns a String instance representing the server-relative URL of the list view page.

Remarks

It must not be a null reference (Nothing in Visual Basic). It must not be empty. It must be a URL of server-relative form.

See Also

Reference

View Class

View Members

Microsoft.SharePoint.Client Namespace