IScmManager.UpdateProject method
Namespace: NextDesign.Desktop
Description
Updates the specified project to the latest state in the configuration management repository.
If the specified project is not linked with the configuration management system, nothing will be done.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
units | IEnumerable<IModelUnit> | Units to update If null is specified, the entire project will be updated (default behavior). |
autoReload | bool | Do you want to automatically reload the project after updating? - If true is specified, the project will be reloaded (default behavior). - If you specify false, only the project in the working folder will be updated and the project will not be reloaded. If the specified project is not the current project, the autoReload specification will be ignored. |
silent | bool | If true is specified, the progress will not be displayed in the progress bar. Default value is false. |
Return value
- void
Exception
Name | Exception class | Description |
---|---|---|
Invalid argument | ExtensionArgumentException | If a unit outside of project management is specified as the unit to be updated |
Configuration management repository operation fails | ExtensionScmException | If configuration management repository operation fails |