共用方式為


PackageUpgradeResult.OnProgress Method

Definition

Called to update progress about task execution.

public:
 virtual void OnProgress(Microsoft::SqlServer::Dts::Runtime::TaskHost ^ taskHost, System::String ^ progressDescription, int percentComplete, int progressCountLow, int progressCountHigh, System::String ^ subComponent, bool % fireAgain);
public void OnProgress (Microsoft.SqlServer.Dts.Runtime.TaskHost taskHost, string progressDescription, int percentComplete, int progressCountLow, int progressCountHigh, string subComponent, ref bool fireAgain);
abstract member OnProgress : Microsoft.SqlServer.Dts.Runtime.TaskHost * string * int * int * int * string * bool -> unit
override this.OnProgress : Microsoft.SqlServer.Dts.Runtime.TaskHost * string * int * int * int * string * bool -> unit
Public Sub OnProgress (taskHost As TaskHost, progressDescription As String, percentComplete As Integer, progressCountLow As Integer, progressCountHigh As Integer, subComponent As String, ByRef fireAgain As Boolean)

Parameters

taskHost
TaskHost

A null value.

progressDescription
String

A string that describes the progress event that is raised.

percentComplete
Int32

An integer used to indicate how much of the task has completed.

progressCountLow
Int32

An integer that contains the low 32-bits of the units completed.

progressCountHigh
Int32

An integer that contains the high 32-bits of the units completed.

subComponent
String

A string that contains more detail about the event source.

fireAgain
Boolean

True if the object should continue firing; otherwise, false.

Implements

Applies to