Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPSolution.RetractLocal method

Retracts the solution from the local server.

  Name Description
Public method RetractLocal() Retracts the solution from all web applications on the local server for trouble-shooting purposes.
Public method RetractLocal(Collection<SPWebApplication>) Retracts the solution from the specified web applications on the local server for trouble-shooting purposes.
Top

When a solution is retracted, all files for that solution are retracted, even if another solution points to the same file. This can be avoided by ensuring that each solution points to a unique set of files.

By default, no application pools are reset after deploying or retracting a solution 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 package, see SPSolutionLanguagePack.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.