SAapi Object : DeleteDomain Method |
Visual Basic |
---|
Public Function DeleteDomain( _ ByVal DomainName As String _ ) As String |
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