ALM Site Administratation Client Type Library
Deleting a domain
Private Sub DeleteDomain()

'The following Visual Basic example deletes an empty domain.
    Dim sDomainName As String, sReply As String
    On Error GoTo err
    sDomainName = "MyDomain"
    sReply = m_SAClient.DeleteDomain(sDomainName)
    MsgBox sReply
    Exit Sub
err:
    MsgBox "Program failed:" + err.Description
End Sub
Send documentation feedback to HP.