ALM Site Administration API Type Library 12.50 and later
GetProject Method
The domain name.
The project name.
Description
Returns the properties of a project.
Syntax
Visual Basic
Public Function GetProject( _
   ByVal DomainName As String, _
   ByVal ProjectName As String _
) As String
Parameters
DomainName
The domain name.
ProjectName
The project name.
Return Type

On success, returns an XML string containing the project properties.

Return Value Details

The properties of the XML return string:

Return Value Example

Example
Private Function GetProject(sDomainName As String, sProjectName As String) As String

'The following Visual Basic example gets the properties
' of a project.
    
    Dim sReply As String
    On Error GoTo err
  
    sReply = m_SAClient.GetProject _
        (sDomainName, sProjectName)
    GetProject = sReply
Exit Function
err:
    MsgBox "Program failed:" + err.Description
End Function
See Also

SAapi Object  | SAapi Members