IProjectServiceDuplicateProject Method (Guid, String, NullableGuid, Boolean) |
Namespace: Dundas.BI.FileSystem
Guid DuplicateProject( Guid sourceProjectId, string newProjectName, Guid? tenantId, bool treatNullTenantIdAsNoTenant )
Exception | Condition |
---|---|
ArgumentException | sourceProjectId is Empty. -or- newProjectName is , empty, only consists of whitespace, or contains invalid characters. -or- tenantId is Empty. |
NotFoundException | sourceProjectId references a project which does not exist. -or- tenantId references a tenant which does not exist. |
ArgumentOutOfRangeException | newProjectName is longer than MaxNameLength. |
DuplicateItemException | A project with the specified name already exists. |
NoPrivilegeException | The caller is not a system or tenant administrator. |
InvalidSessionException | The caller context is not associated with a valid session. |