IProjectServiceDuplicateProject(Guid, Guid) Method

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 (26.2.0.1000)
Syntax
[ObsoleteAttribute("Use CopyIntoProject")]
void DuplicateProject(
	Guid sourceProjectId,
	Guid targetProjectId
)

Parameters

sourceProjectId  Guid
The ID of the source project.
targetProjectId  Guid
The ID of the target project.

Return Value

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