Skip to main content

IScmManager.CheckoutProject Method

Namespace: NextDesign.Desktop

Description

Checks out the project of the specified project path (remote repository path) to the specified work area.

Arguments

NameTypeDescription
projectPathstringProject path (remote repository path)
workDirstringLocal work area (checkout destination) folder path
settingIScmRepositorySettingConfiguration management connection settings
autoLoadboolAutomatically load the project after checkout and set it as the current project
- If true is specified, the current project will be forcibly closed, discarding the editing state (default behavior).
- If false is specified, only the project will be checked out and the project will not be loaded.
silentboolIf true is specified, the progress bar will not display the progress.
The default value is false.

Return value

Exceptions

NameException classDescription
Invalid argumentExtensionArgumentExceptionIf the checkout destination folder does not exist
If an invalid parameter is specified
- If true is specified for autoLoad and a project path in a format not supported by the running NextDesign is specified for projectPath
Configuration management repository operation failedExtensionScmExceptionIf the checkout destination folder is a project folder that is already integrated with configuration management
If configuration management repository operation failed