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.StringIndicates the action performed by the specified cmdlet. This must be a fixed string for a given cmdlet.
statusDescription
Type: System.StringDescribes the current status of the cmdlet execution.