Share via


SPVirtualServer.UpgradeVirtualServer method

NOTE: This API is now obsolete.

Obsolete. Use members of the SPWebApplication class or the SPIisSettings class instead. (In Windows SharePoint Services 2.0, the UpgradeVirtualServer method upgraded the virtual server, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("UpgradeVirtualServer() is a deprecated method")> _
Public Sub UpgradeVirtualServer ( _
    bForceUpgrade As Boolean _
)
'Usage
Dim instance As SPVirtualServer
Dim bForceUpgrade As Boolean

instance.UpgradeVirtualServer(bForceUpgrade)
[ObsoleteAttribute("UpgradeVirtualServer() is a deprecated method")]
public void UpgradeVirtualServer(
    bool bForceUpgrade
)

Parameters

  • bForceUpgrade
    Type: System.Boolean

    true if an upgrade is forced; otherwise, false.

See also

Reference

SPVirtualServer class

SPVirtualServer members

Microsoft.SharePoint.Administration namespace