Partager via


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

<GuidAttribute("9425AD4C-E595-42f9-92BF-B33AE4EF3C68")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPSolution _
    Inherits SPPersistedObject

Dim instance As SPSolution
[GuidAttribute("9425AD4C-E595-42f9-92BF-B33AE4EF3C68")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPSolution : SPPersistedObject

Remarks

An SPSolution object represents either a language-neutral solution or a Web Part package. For language packs associated with solutions and Web Part packages, 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