共用方式為


IDTSEvents100.OnProgress Method

Definition

Called to update progress about task execution.

public:
 void OnProgress(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSTaskHost100 ^ pTaskHost, System::String ^ ProgressDescription, int PercentComplete, int ProgressCountLow, int ProgressCountHigh, System::String ^ SubComponent, [Runtime::InteropServices::Out] bool % pbFireAgain);
[System.Runtime.InteropServices.DispId(8)]
public void OnProgress (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100 pTaskHost, string ProgressDescription, int PercentComplete, int ProgressCountLow, int ProgressCountHigh, string SubComponent, out bool pbFireAgain);
[<System.Runtime.InteropServices.DispId(8)>]
abstract member OnProgress : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100 * string * int * int * int * string * bool -> unit
Public Sub OnProgress (pTaskHost As IDTSTaskHost100, ProgressDescription As String, PercentComplete As Integer, ProgressCountLow As Integer, ProgressCountHigh As Integer, SubComponent As String, ByRef pbFireAgain As Boolean)

Parameters

pTaskHost
IDTSTaskHost100

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.

pbFireAgain
Boolean

A Boolean that indicates this should continue firing or stop firing. A value of true indicates that it should continue firing.

Attributes

Remarks

For more information, see IDTSEvents.

Applies to