Share via


SPSolutionCollection.Remove method (String)

Removes the solution with the specified name from the collection of solutions.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub Remove ( _
    name As String _
)
'Usage
Dim instance As SPSolutionCollection
Dim name As String

instance.Remove(name)
public void Remove(
    string name
)

Parameters

  • name
    Type: System.String

    A string containing the name of the solution.

Remarks

The Remove method returns an error if all the language packs for a solution have already been removed from the collection. In this case, use the solution's Delete method.

See also

Reference

SPSolutionCollection class

SPSolutionCollection members

Remove overload

Microsoft.SharePoint.Administration namespace