SPSolution.Name Property
Returns the name of the solution.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property Name As String
Get
'Usage
Dim instance As SPSolution
Dim value As String
value = instance.Name
public string Name { get; }
Property Value
Type: System.String
A string containing the solution name.
Remarks
The name of the solution is set to the filename when you first add the solution to the store. If you subsequently upgrade the solution with a different file, the SolutionFile property gets updated but the Name property remains the same.