ITaskExecutionContext.ReportProgress(ITask, Int32, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
表示用於報告任務進度的方法。
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
一個代表文字訊息的字串值。