ProgressBar Iterations Property

Specifies the number of iterations. The default is 0, which indicates an indeterminate number.