Partilhar via


SPSolutionCollection.Remove Method (Guid)

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

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

Syntax

'Declaration
Public Overrides Sub Remove ( _
    id As Guid _
)
'Usage
Dim instance As SPSolutionCollection
Dim id As Guid

instance.Remove(id)
public override void Remove(
    Guid id
)

Parameters

Remarks

Use the Id property to return the GUID for the solution.

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