ITaskExecutionContext.ReportProgress(ITask, Int32, String) 方法

定義

表示用於報告任務進度的方法。

public:
 void ReportProgress(Microsoft::SqlServer::Management::ITask ^ task, int progressPercentage, System::String ^ message);
public void ReportProgress(Microsoft.SqlServer.Management.ITask task, int progressPercentage, string message);
abstract member ReportProgress : Microsoft.SqlServer.Management.ITask * int * string -> unit
Public Sub ReportProgress (task As ITask, progressPercentage As Integer, message As String)

參數

task
ITask

一個代表任務的介面。

progressPercentage
Int32

一個整數值,代表任務進度百分比。

message
String

一個代表文字訊息的字串值。

適用於