Share via


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

Deploys the language pack to the web applications locally on this server and to the hives within the specified compatibility range (inclusive).

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, _
    compatibilityRange As SPCompatibilityRange _
)
'Usage
Dim instance As SPSolutionLanguagePack
Dim globalInstallWPPackDlls As Boolean
Dim webApplications As Collection(Of SPWebApplication)
Dim force As Boolean
Dim compatibilityRange As SPCompatibilityRange

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

Parameters

  • globalInstallWPPackDlls
    Type: System.Boolean

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

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.

See also

Reference

SPSolutionLanguagePack class

SPSolutionLanguagePack members

DeployLocal overload

Microsoft.SharePoint.Administration namespace