Share via


SPCmdlet.WriteProgress method (String, String)

Writes progress information to the screen regarding the executing cmdlet.

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
Protected Sub WriteProgress ( _
    activity As String, _
    statusDescription As String _
)
'Usage
Dim activity As String
Dim statusDescription As String

Me.WriteProgress(activity, statusDescription)
protected void WriteProgress(
    string activity,
    string statusDescription
)

Parameters

  • activity
    Type: System.String

    Indicates the action performed by the specified cmdlet. This must be a fixed string for a given cmdlet.

  • statusDescription
    Type: System.String

    Describes the current status of the cmdlet execution.

See also

Reference

SPCmdlet class

SPCmdlet members

WriteProgress overload

Microsoft.SharePoint.PowerShell namespace

Cmdlet.WriteProgress