A Sandcastle Documented Class Library

# 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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    Guid CreateProject(
    	string name
    )

    Function CreateProject (
    	name As String
    ) As Guid

    Guid CreateProject(
    	String^ name
    )

    abstract CreateProject :
            name : string -> Guid

#### Parameters

name
  Type: System
  String
  The name of the project.

#### Return Value

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

Exception | Condition
--- | ---
ArgumentException | name is , empty, only consists of whitespace, or contains invalid characters.
ArgumentOutOfRangeException | name 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.

See Also

#### Reference

IProjectService Interface
CreateProject Overload
Dundas.BI.FileSystem Namespace