PackageUpgradeResult.OnProgress 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
要更新任务执行的进度时调用。
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)
参数
- taskHost
- TaskHost
Null 值。
- progressDescription
- String
一个说明所引发的事件的进度的字符串。
- percentComplete
- Int32
一个整数,该整数用于指示完成任务的量。
- progressCountLow
- Int32
一个整数,该整数包含所完成的单元的低 32 位。
- progressCountHigh
- Int32
一个整数,该整数包含所完成的单元的高 32 位。
- subComponent
- String
一个包含有关事件源的详细信息的字符串。
- fireAgain
- Boolean
如果对象应继续激发,则为 True;否则为 false。