共用方式為


SPSolutionLanguagePack.RetractLocal Method

Retracts the language pack from the local server for trouble-shooting purposes.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub RetractLocal
'Usage
Dim instance As SPSolutionLanguagePack

instance.RetractLocal()
public void RetractLocal()

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