次の方法で共有


SPSolutionLanguagePack.RetractLocal method (Collection<SPWebApplication>)

Retracts the language pack from 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 RetractLocal ( _
    webApplications As Collection(Of SPWebApplication) _
)
'Usage
Dim instance As SPSolutionLanguagePack
Dim webApplications As Collection(Of SPWebApplication)

instance.RetractLocal(webApplications)
public void RetractLocal(
    Collection<SPWebApplication> webApplications
)

Parameters

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 retract a language-neutral solution, see SPSolution.

See also

Reference

SPSolutionLanguagePack class

SPSolutionLanguagePack members

RetractLocal overload

Microsoft.SharePoint.Administration namespace