SPForm.ServerRelativeUrl property

Gets the server-relative URL of the form.

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

Syntax

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

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

Property value

Type: System.String
A string containing the server-relative URL.

See also

Reference

SPForm class

SPForm members

Microsoft.SharePoint namespace