Share via


SPWeb.Url Property

Gets the absolute URL for the Web site.

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

Syntax

Public ReadOnly Property Url As String
    Get

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