Share via


SPSolution.Name property

Returns the name of the solution.

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

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.

See also

Reference

SPSolution class

SPSolution members

Microsoft.SharePoint.Administration namespace