Share via


SPVirtualServer.Url property

NOTE: This API is now obsolete.

Obsolete. Gets the URL for the virtual server.

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
Public ReadOnly Property Url As Uri
    Get
'Usage
Dim instance As SPVirtualServer
Dim value As Uri

value = instance.Url
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
    false)]
public Uri Url { get; }

Property value

Type: System.Uri
A uniform resource identifier (URI) that contains the URL.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace