Partager via


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

System.Object
  Microsoft.SharePoint.Administration.SPVirtualServerConfig

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

Syntax

<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.", 
    false)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPVirtualServerConfig

Remarks

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

Reference

SPVirtualServerConfig Members

Microsoft.SharePoint.Administration Namespace