ITaskExecutionContext.ReportProgress(ITask, Int32, String) Method

Definition

Indicates a method used to report the progress of the task.

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)

Parameters

task
ITask

An interface that represents the task.

progressPercentage
Int32

An integer value that represents the percentage of progress of the task.

message
String

A string value that represents the text message.

Applies to