指定在升级后重新启动 Web 服务器的方式。
命名空间:  Microsoft.VisualStudio.SharePoint.Packages
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Enumeration ResetWebServerModeOnUpgrade
public enum ResetWebServerModeOnUpgrade
成员
| 成员名称 | 说明 | |
|---|---|---|
| Recycle | 应用程序池在升级后回收。 | |
| StartStop | 应用程序池在升级后停止,然后重新启动。 |