ProjectServerManagerCreateNewProject Method (Project)
Creates new project in Project Server\Project Online instance using default save options.

Namespace: Aspose.Tasks
Assembly: Aspose.Tasks (in Aspose.Tasks.dll) Version: 20.4
Syntax
public void CreateNewProject(
	Project project
)

Parameters

project
Type: Aspose.TasksProject
The project to save to Project Server\Project Online instance.
Exceptions
ExceptionCondition
ProjectOnlineExceptionIn case of communication error or error returned by a server.
Examples
In this example the project is loaded from .mpp file and saved to Project Online account.
[C#]
var credentials = new ProjectServerCredentials("https://xxxxxx.sharepoint.com", "yyyyy@xxxxxxx.onmicrosoft.com", "password");
var project = new Project(@"sample.mpp");
ProjectServerManager manager = new ProjectServerManager(credentials);
manager.CreateNewProject(project);
See Also