SPBlockedSolutionCollection.Remove Method
Removes a solution with the given signature.
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Remove ( _
solution As SPBlockedSolution _
) As Boolean
'Usage
Dim instance As SPBlockedSolutionCollection
Dim solution As SPBlockedSolution
Dim returnValue As Boolean
returnValue = instance.Remove(solution)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public bool Remove(
SPBlockedSolution solution
)
Parameters
solution
Type: Microsoft.SharePoint.UserCode.SPBlockedSolutionThe solution to remove from the blocked solution list.
Return Value
Type: System.Boolean
true if the blocked solution was removed; false if the solution did not exist.
Implements
Remarks
The removal is immediately updated in configuration database. This object will throw an ArgumentNullException if the solution signature is a null reference (Nothing in Visual Basic).
See Also
Reference
SPBlockedSolutionCollection Class