TaskExecutionContext.ReportProgress(ITask, Int32, String) Method

Definition

Reports the task progress. This class cannot be inherited.

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)

Parameters

task
ITask

A ITask which represents the task to be logged.

progressPercentage
Int32

A Int32 representing the task progress percentage.

message
String

A String containing the message.

Implements

Applies to