SPJobDefinition.UpdateProgress method

Updates the percentage of the running job that is completed for the job definition running on the current server.

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

Syntax

'Declaration
Public Sub UpdateProgress ( _
    newPercentage As Integer _
)
'Usage
Dim instance As SPJobDefinition
Dim newPercentage As Integer

instance.UpdateProgress(newPercentage)
public void UpdateProgress(
    int newPercentage
)

Parameters

  • newPercentage
    Type: System.Int32

    The percentage of the job completed.

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace