ALM Site Administration API Type Library 12.50 and later
GetAllProjects Method
The project type can be Standard, Template, or a project type created by an extension.
Description
Returns the properties of all projects or of all properties of the specified type.
Syntax
Visual Basic
Public Function GetAllProjects( _
   Optional ByVal ProjectType As String = "" _
) As String
Parameters
ProjectType
The project type can be Standard, Template, or a project type created by an extension.
Remarks

If the project type is not specified, returns the properites of all projects.

If specified, returns only the properties of projects of that type.

Return Value Details

The properties of the XML return string:

Example
Private Function GetProjects(Optional ProjType As String = "") As String

'Getting properties of all projects
    
    Dim rt$
    rt = m_SAClient.GetAllProjects(ProjType)
    GetProjects = rt
   
End Function
See Also

SAapi Object  | SAapi Members