Export (0) Print
Expand All

SPSolution.Upgrade method (String, DateTime)

Upgrades the solution from a previous version to the current version using the specified solution file, and scheduled to run at a specified time.

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

public void Upgrade(
	string path,
	DateTime dt
)

Parameters

path
Type: System.String

The path to the solution file.

dt
Type: System.DateTime

A DateTime object that indicates when to run the timer job.

If you are running multiple jobs and the order in which they run is important, make sure that the specified times are sufficient for each job to complete before the next job is submitted. When multiple jobs are in the pool, the order in which they run is unpredictable.

Community Additions

ADD
Show:
© 2014 Microsoft