IProjectServiceCreateProject Method (String, NullableGuid)

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 (24.3.0.1000)
Syntax
Guid CreateProject(
	string name,
	Guid? tenantId
)

Parameters

name
Type: SystemString
The name of the project.
tenantId
Type: SystemNullableGuid
The ID of the tenant to be associated with the project, or if the project should not be associated with a tenant.

Return Value

Type: 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