RVTDocs.com
Namespace: Autodesk.Revit.DB Class: SaveAsOptions

SaveAsOptions.MaximumBackups

Property
Description:
The maximum number of backups to keep on disk.
Remarks:

Non-workshared models have whole-file backups, sequentially numbered.

File-based workshared models have eager, incremental backups in a backup folder adjacent to the model itself: Every save backs up all changed data and avoids recopying unchanged elements, so the latest backup is equivalent to the main copy on disk and the backup folder does not have huge amounts of redundant data.

Syntax
public int MaximumBackups { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: The requested number of backups is out of range.