ALM Site Administration API Type Library 12.50 and later
ActivateProject Method
The domain name.
The project name.
Description
Activates the project and retrieves project properties.
Syntax
Visual Basic
Public Function ActivateProject( _
   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:

Example
Private Sub ActivateProject(sDomainName$, sProjectName$)

'The following Visual Basic example activates the project.

    Dim sReply As String
    On Error GoTo err

    sReply = m_SAClient.ActivateProject _
        (sDomainName, sProjectName)
    
    Debug.Print "Activate Project" & vbCrLf & sReply & vbCrLf
       
    Exit Sub
err:
    MsgBox "Program failed:" + err.Description
End Sub
See Also

SAapi Object  | SAapi Members