Compartilhar via


SPSite.Solutions Property

Gets the collection of user solutions that have been activated for the site collection.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public ReadOnly Property Solutions As SPUserSolutionCollection
    Get
'Usage
Dim instance As SPSite
Dim value As SPUserSolutionCollection

value = instance.Solutions
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public SPUserSolutionCollection Solutions { get; }

Property Value

Type: Microsoft.SharePoint.SPUserSolutionCollection
A collection of SPUserSolution objects. The value of the Status property for each object in the collection is Activated.

Remarks

User solutions allow solutions to be uploaded at the site collection scope and run in a sandbox.

See Also

Reference

SPSite Class

SPSite Members

Microsoft.SharePoint Namespace

Add(Int32)