Share via


SPSiteUrl.Url property

Gets and sets the URL for the site.

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

Syntax

'Declaration
Public Property Url As Uri
    Get
    Set
'Usage
Dim instance As SPSiteUrl
Dim value As Uri

value = instance.Url

instance.Url = value
public Uri Url { get; set; }

Property value

Type: System.Uri
The URL for the site.

See also

Reference

SPSiteUrl class

SPSiteUrl members

Microsoft.SharePoint namespace