Partilhar via


SPSolution.Retract Method

Include Protected Members
Include Inherited Members

Retracts a solution.

Overload List

  Name Description
Public method Retract(DateTime) Creates a timer job to retract the specified solution at a particular time.
Public method Retract(DateTime, Collection<SPWebApplication>) Creates a timer job to retract the specified solution from the specified web applications at a particular time.

Top

Remarks

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.

To retract a language package, see SPSolutionLanguagePack.

See Also

Reference

SPSolution Class

SPSolution Members

Microsoft.SharePoint.Administration Namespace