SPFolder.ServerRelativeUrl property

Gets the server-relative URL of the folder.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property ServerRelativeUrl As String
    Get
'Usage
Dim instance As SPFolder
Dim value As String

value = instance.ServerRelativeUrl
public string ServerRelativeUrl { get; }

Property value

Type: System.String
The server-relative URL of the folder.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace