online source control
back to content
sign up free version control plan

SAWHSDK::createProject

Description

Creates a project on the server.

Syntax

int createProject(
        String strParentProjectFullName,
        String strProjectToCreate,
        String strComment,
        BaseDataObject bdobCanceled,
        BasicDataObject bdostrError
);

Parameters

strParentProjectFullName
[in] Specifies the full name of the parent project under which the new project will be created.

strProjectToCreate
[in] Specifies the name of the project to be created.

strComment
[in] Specifies the comment for the new project.

bdobCanceled
[out] If the method fails, returns whether the operation is canceled.

bdostrError
[out] Returns the description of the result. If the operation succeeds, returns 'Completed'. If the operation fails, returns the error information.

Return Value

If the method succeeds, returns 0. If the method fails, returns other error codes.