Skip to main content

IScmManager.ShareProject method

Namespace: NextDesign.Desktop

Description

Shares the specified project with the specified configuration management repository.

argument

NameTypeDescription
projectIProjectShared projects
settingIScmRepositorySettingConfiguration Management Connection Settings
commentstringInitial commit comment
remotePathstringremote path
If null is specified, it will be added to the BaseUrl position of the configuration management connection settings.
The default is null.
Ifsilentbool

Return value

  • void

Exceptions

NameException ClassDescription
Invalid operationExtensionInvalidOperationExceptionIf the specified project has not been saved
If the specified project is already linked with the configuration management system
Configuration Management Repository Operation FailedExtensionScmExceptionIf Configuration Management Repository Operation Failed