Condividi tramite


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

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.

See Also

Reference

SPVirtualServerConfig Class

SPVirtualServerConfig Members

Microsoft.SharePoint.Administration Namespace