Compartilhar via


SPSolution.IBackupRestore.Name Property

Gets or sets the name of the solution.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Private Property Name As String Implements IBackupRestore.Name
    Get
    Set
'Usage
Dim instance As SPSolution
Dim value As String

value = CType(instance, IBackupRestore).Name

CType(instance, IBackupRestore).Name = value
stringIBackupRestore.Name { get; set; }

Property Value

Type: System.String
Returns the name of the solution.

Implements

IBackupRestore.Name

Remarks

The name of the solution is set to the filename when you first add it to the solution store. If you upgrade the solution with a different file, this property stays the same.

See Also

Reference

SPSolution Class

SPSolution Members

Microsoft.SharePoint.Administration Namespace