다음을 통해 공유


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)

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