SPSolution class

Represents a solution on a farm.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPSolution

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<GuidAttribute("9425AD4C-E595-42f9-92BF-B33AE4EF3C68")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPSolution _
    Inherits SPPersistedObject _
    Implements IBackupRestoreConfiguration, IBackupRestore
'Usage
Dim instance As SPSolution
[GuidAttribute("9425AD4C-E595-42f9-92BF-B33AE4EF3C68")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPSolution : SPPersistedObject, 
    IBackupRestoreConfiguration, IBackupRestore

Remarks

An SPSolution object represents either a language-neutral solution. For language packs associated with solutions, see SPSolutionLanguagePack.

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPSolution members

Microsoft.SharePoint.Administration namespace

Other resources

Creating a Solution

Solutions Overview