IScmManager.ReleaseAllEditPermissions method
Namespace: NextDesign.Desktop
Description
Releases editing privileges for all units in the specified project.
If the profile is unitized, the unit of the profile is also targeted.
Nothing will be done if the specified project is not linked to the configuration management system.
Of the target units, the units whose privileges could be released and the units whose privileges could not be released can be identified by checking the privilege acquisition result object of the return value.
argument
Name | Type | Description |
---|---|---|
project | IProject | Project |
Return value
Exceptions
Name | Exception Class | Description |
---|---|---|
Illegal operation | ExtensionInvalidOperationException | If the project contains added, deleted or replaced units |
Configuration Management Repository Operation Failed | ExtensionScmException | If Configuration Management Repository Operation Failed |
Annotations
Calling this method will fail if the project contains units that have been added or removed.
Commit the changes with CommitProject() or discard the changes for the entire project with RevertProject().