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)
Available in Sandboxed Solutions: No

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