SPVirtualServerConfig class

NOTE: This API is now obsolete.

Obsolete. Use the SPWebApplication class or the SPIisSettings class instead. (In Windows SharePoint Services 2.0, the SPVirtualServerConfig class represented the configuration settings for a virtual server, and is maintained for backward compatibility.)

Inheritance hierarchy


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


<ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.",  _
    False)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPVirtualServerConfig
Dim instance As SPVirtualServerConfig
[ObsoleteAttribute("Use SPWebApplication or SPIisSettings instead.", 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPVirtualServerConfig


Use SPVirtualServer.Config to get an SPVirtualServerConfig object that represents configuration settings for the virtual server.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also


SPVirtualServerConfig members

Microsoft.SharePoint.Administration namespace