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 (24.3.0.1000)
Syntax
void DuplicateProject(
	Guid sourceProjectId,
	Guid targetProjectId
)

Parameters

sourceProjectId
Type: SystemGuid
The ID of the source project.
targetProjectId
Type: SystemGuid
The ID of the target project.
Exceptions
ExceptionCondition
ArgumentExceptionsourceProjectId or targetProjectId is Empty.
NotFoundExceptionsourceProjectId or targetProjectId references a project which does not exist.
NoPrivilegeException The caller does not have administrative privileges on the source and target projects.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also