SPSolutionLanguagePack.DeployLocal 方法 (Boolean, Boolean, SPCompatibilityRange)
全球向所有 vservers 部署语言包在本地和到此服务器上的 (非独占) 指定的兼容性范围内配置单元。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Sub DeployLocal ( _
globalInstallWPPackDlls As Boolean, _
force As Boolean, _
compatibilityRange As SPCompatibilityRange _
)
用法
Dim instance As SPSolutionLanguagePack
Dim globalInstallWPPackDlls As Boolean
Dim force As Boolean
Dim compatibilityRange As SPCompatibilityRange
instance.DeployLocal(globalInstallWPPackDlls, _
force, compatibilityRange)
public void DeployLocal(
bool globalInstallWPPackDlls,
bool force,
SPCompatibilityRange compatibilityRange
)
参数
globalInstallWPPackDlls
类型:System.Boolean仅在 wppacks 的部署中使用。如果为 true,然后具有强名称的程序集安装在 GAC 中。否则,它们将安装到 bin 目录中的虚拟服务器。WSP 解决方案包,功能范围的决定,该程序集的位置。
- force
类型:System.Boolean
compatibilityRange
类型:Microsoft.SharePoint.SPCompatibilityRange指定的配置单元,该解决方案将部署到。配置单元是由指定的兼容性范围定义
备注
默认情况下,没有应用程序池部署或退刀使用对象模型的语言包后将重置。要手动重置应用程序池,可以停止并重新启动 web 应用程序的部署或撤销该解决方案应用程序池。若要部署一个非特定语言解决方案或 Web 部件包,请参阅 SPSolution。