Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the solution with the specified name and locale identifier from the collection of solutions.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Sub Remove ( _
name As String, _
lcid As UInteger _
)
'Usage
Dim instance As SPSolutionCollection
Dim name As String
Dim lcid As UInteger
instance.Remove(name, lcid)
public void Remove(
string name,
uint lcid
)
Parameters
name
Type: System.StringA string containing the name of the solution.
lcid
Type: System.UInt32The locale identifier for 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.