SPSiteAdministration.Url property
Gets the URL of the top-level site in this site collection.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Url As String
Get
'Usage
Dim instance As SPSiteAdministration
Dim value As String
value = instance.Url
public string Url { get; }
Property value
Type: System.String
A string containing the URL.