Folder.ServerRelativeUrl property
Gets the server-relative URL of the list folder.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
Public ReadOnly Property ServerRelativeUrl As String
Get
'Usage
Dim instance As Folder
Dim value As String
value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }
Property value
Type: System.String
A string that contains the URL.
Exceptions
Exception | Condition |
---|---|
UnauthorizedAccessException | The current user has insufficient permissions. Error code: -2147024891. |
Remarks
It must not be a null reference (Nothing in Visual Basic). It must be a URL of server-relative form.