ALM Site Administratation Client Type Library
Removing a project from a domain
Private Sub RemoveProject()
'The following Visual Basic example removes a project
' from the domain.
    Dim sDomainName As String
    Dim sProjectName As String
    Dim sReply As String

    On Error GoTo err
    sDomainName = "MyDomain"
    sProjectName = "MyProject"

sReply = m_SAClient.RemoveProject _
        (sDomainName, sProjectName)

    MsgBox sReply
    Exit Sub
err:
    MsgBox "Program failed:" + err.Description
End Sub
Send documentation feedback to HP.