Skip to main content

IScmManager.UpdateProject Method

Namespace: NextDesign.Desktop

Description

Updates the specified project to the latest state in the configuration management repository.
Nothing will be done if the specified project is not linked to the configuration management system.

Arguments

NameTypeDescription
projectIProjectProject
unitsIEnumerable<IModelUnit>Units to update
If null is specified, the entire project will be updated (default behavior).
autoReloadboolWhether to automatically reload the project after updating
- If true is specified, the project will be reloaded (default behavior).
- If false is specified, only the project in the working folder will be updated, and the project will not be reloaded.

Note that if the specified project is not the current project, the autoReload setting will be ignored.
silentboolIf true is specified, the progress will not be displayed in a progress bar.
The default value is false.

Return value

  • void

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionWhen a unit outside the project management is specified as the unit to be updated
Configuration management repository operation failedExtensionScmExceptionWhen configuration management repository operation failed