Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
percentCompleted As Integer _
)
'Usage
Dim activity As String
Dim statusDescription As String
Dim percentCompleted As Integer
Me.WriteProgress(activity, statusDescription, _
percentCompleted)
protected void WriteProgress(
string activity,
string statusDescription,
int percentCompleted
)
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.
percentCompleted
Type: System.Int32Indicates the state of completion of the cmdlet expressed as a percent.