IProjectServiceCreateProject(String, NullableGuid) Method

Create a project with the specified name.

Namespace: Dundas.BI.FileSystem
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
Guid CreateProject(
	string name,
	Guid? tenantId
)

Parameters

name  String
The name of the project.
tenantId  NullableGuid
The ID of the tenant to be associated with the project, or if the project should not be associated with a tenant.

Return Value

Guid
The ID of the newly-created project.
Exceptions
ExceptionCondition
ArgumentException

name is , empty, only consists of whitespace, or contains invalid characters.

-or-

tenantId is Empty.

ArgumentOutOfRangeExceptionname is longer than MaxNameLength.
DuplicateItemExceptionA project with the specified name already exists.
NotFoundExceptionThe specified tenant was not found.
NoPrivilegeExceptionThe caller is not a system administrator.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also