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

定義

報告任務進度。 此類別無法獲得繼承。

public:
 virtual 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
override this.ReportProgress : Microsoft.SqlServer.Management.ITask * int * string -> unit
Public Sub ReportProgress (task As ITask, progressPercentage As Integer, message As String)

參數

task
ITask

A ITask 代表要記錄的任務。

progressPercentage
Int32

A Int32 代表任務進度百分比。

message
String

String A,裡面有訊息。

實作

適用於