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

SAWHSDK::deleteProject

Description

Deletes multiple projects from the server.

Syntax

int deleteProject(
        StringArray aryProjectToDelete,
        boolean bDestoryPermanently,
        BaseDataObject bdobCanceled,
        BaseDataObject bdostrError,
        ItemOperateResultArray aryOperatorResult
);

Parameters

aryProjectToDelete
[in] Specifies the full names of the projects to be deleted.

bDestoryPermanently
[in] Specifies whether to destroy the projects permanently.

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.

aryOperatorResult
[out] Returns the result information of the operation.

Return Value

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

See Also