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

SAWHSDK::getSubProjectsFromParentProjectRecursively

Description

Retrieves the names of all subprojects of a project recursively.

Syntax

int getSubProjectsFromParentProjectRecursively(
        string
strParentProject,
        stringArray strArySubProjects,
        BaseDataObject bdobCanceled,
        BaseDataObject bdostrError
);

Parameters

strParentProject
[in] Returns the full name of the project whose subproject names will be be retrieved.

strArySubProjects
[out] Returns the names of all subprojects of the 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.