IProjectServiceDuplicateProject Method (Guid, Guid) |
Copies the contents of a project into another project.
Namespace:
Dundas.BI.FileSystem
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
Syntaxvoid DuplicateProject(
Guid sourceProjectId,
Guid targetProjectId
)
Sub DuplicateProject (
sourceProjectId As Guid,
targetProjectId As Guid
)
void DuplicateProject(
Guid sourceProjectId,
Guid targetProjectId
)
abstract DuplicateProject :
sourceProjectId : Guid *
targetProjectId : Guid -> unit
Parameters
- sourceProjectId
- Type: SystemGuid
The ID of the source project. - targetProjectId
- Type: SystemGuid
The ID of the target project.
Exceptions| Exception | Condition |
|---|
| ArgumentException | sourceProjectId or targetProjectId is Empty.
|
| NotFoundException | sourceProjectId or targetProjectId references a project which does not exist.
|
| NoPrivilegeException |
The caller does not have administrative privileges on the source and target projects.
|
| InvalidSessionException | The caller context is not associated with a valid session. |
See Also