SPUserSolutionCollection.Add Method

Adds a solution in the site solutions gallery.

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

[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPUserSolution Add(
	int solutionGalleryItemId
)

Parameters

solutionGalleryItemId
Type: System.Int32

The item ID of the solutions gallery item to add.

Return Value

Type: Microsoft.SharePoint.SPUserSolution
The sandboxed solution.
Show: