SPVirtualServerConfig.VirtualServer property
NOTE: This API is now obsolete.
Gets the virtual server to which the configuration settings apply.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", _
False)> _
Public ReadOnly Property VirtualServer As SPVirtualServer
Get
'Usage
Dim instance As SPVirtualServerConfig
Dim value As SPVirtualServer
value = instance.VirtualServer
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",
false)]
public SPVirtualServer VirtualServer { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPVirtualServer
An SPVirtualServer object that represents the virtual server.