SPSolutionLanguagePack.DeployLocal method (Boolean, Boolean)
Deploys the language pack on the local server for trouble-shooting purposes.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub DeployLocal ( _
globalInstallWPPackDlls As Boolean, _
force As Boolean _
)
'Usage
Dim instance As SPSolutionLanguagePack
Dim globalInstallWPPackDlls As Boolean
Dim force As Boolean
instance.DeployLocal(globalInstallWPPackDlls, _
force)
public void DeployLocal(
bool globalInstallWPPackDlls,
bool force
)
Parameters
globalInstallWPPackDlls
Type: System.BooleanNot used.
force
Type: System.BooleanIf true, then a language pack can be redeployed; if false, and the language pack has already been deployed, an exception is raised.
Remarks
Warning
The DeployLocal and RetractLocal() methods should be used only to temporarily deploy or retract a solution from a particular server for trouble-shooting purposes. At all other times, the front-end web servers must be identically configured.
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, see SPSolution.