Open this page in the API Guide

IProjectService.CreateProject Method (String)

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 (25.1.0.1000)
Syntax
Guid CreateProject(
	string name
)

Parameters

name
Type: System.String
The name of the project.

Return Value

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

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

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