Share via


SPSolutionLanguagePack.DeployLocal method (Boolean, Collection<SPWebApplication>, Boolean)

Deploys the language pack to the specified web applications 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, _
    webApplications As Collection(Of SPWebApplication), _
    force As Boolean _
)
'Usage
Dim instance As SPSolutionLanguagePack
Dim globalInstallWPPackDlls As Boolean
Dim webApplications As Collection(Of SPWebApplication)
Dim force As Boolean

instance.DeployLocal(globalInstallWPPackDlls, _
    webApplications, force)
public void DeployLocal(
    bool globalInstallWPPackDlls,
    Collection<SPWebApplication> webApplications,
    bool force
)

Parameters

  • force
    Type: System.Boolean

    If 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.

See also

Reference

SPSolutionLanguagePack class

SPSolutionLanguagePack members

DeployLocal overload

Microsoft.SharePoint.Administration namespace