共用方式為


SPSolution.Upgrade Method (String)

Upgrades the solution from a previous version to the current version using the specified solution file.

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

Syntax

'Declaration
Public Sub Upgrade ( _
    path As String _
)
'Usage
Dim instance As SPSolution
Dim path As String

instance.Upgrade(path)
public void Upgrade(
    string path
)

Parameters

See Also

Reference

SPSolution Class

SPSolution Members

Upgrade Overload

Microsoft.SharePoint.Administration Namespace