SPSolutionLanguagePack.DeployLocal method (Boolean, Boolean, SPCompatibilityRange)
Globally deploys the language pack to all vservers locally and to the hives within the specified compatibility range (inclusive) on this server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub DeployLocal ( _
globalInstallWPPackDlls As Boolean, _
force As Boolean, _
compatibilityRange As SPCompatibilityRange _
)
'Usage
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
)
Parameters
globalInstallWPPackDlls
Type: System.BooleanUsed only in the deployment of wppacks. If true, then strong-named assemblies are installed in the GAC. Else, they are installed to the bin directory of the Virtual Server. For a WSP solution package, the scope of the feature decides, the location of the assembly.
- force
Type: System.Boolean
compatibilityRange
Type: Microsoft.SharePoint.SPCompatibilityRangeSpecifies the hives where the solution to deploy to. The hive is defined by the specified compatibility range
Remarks
By default, no application pools are reset after deploying or retracting a language pack using the object model. To reset the application pool manually, you can stop and restart the application pool for the web application to which you are deploying or retracting the solution. To deploy a language-neutral solution or Web Part package, see SPSolution.