IProjectServiceDuplicateProject Method (Guid, Guid)

Note: This API is now obsolete.

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.4.0.1000)
Syntax
[ObsoleteAttribute("Use CopyIntoProject")]
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.

Return Value

Type: 
An object containing additional result details of the copy operation.
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