SPWeb.Url property

Gets the absolute URL for the website.

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

Syntax

'Declaration
Public ReadOnly Property Url As String
    Get
'Usage
Dim instance As SPWeb
Dim value As String

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

Property value

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace