| SAapi Object : GetAllProjects Method | 
| Visual Basic | 
|---|
| Public Function GetAllProjects( _ Optional ByVal ProjectType As String = "" _ ) As String | 
If the project type is not specified, returns the properites of all projects.
If specified, returns only the properties of projects of that type.
The properties of the XML return string:
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