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)
Available in Sandboxed Solutions: No

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