When executing Restore method MaxProgress property represents quantity of statements in the script. Use in conjunction with Progress property to determine what part of script has executed.
When executing Backup method this property is quantity of rows in table that is being dumped. For other types of database objects MaxProgress property is meaningless. Use Progress property to get a value that indicates how many rows in the current table have been dumped already.