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)
Available in Sandboxed Solutions: No
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
Microsoft.SharePoint.Administration Namespace
Other Resources
Creating a Solution
Solutions Overview