public virtual void DeleteDomainAlias(string domainName, string aliasName) { try { svcDomainAliasAdmin aliases = new svcDomainAliasAdmin(); PrepareProxy(aliases); GenericResult1 result = aliases.DeleteDomainAlias(AdminUsername, AdminPassword, domainName, aliasName); if (!result.Result) throw new Exception(result.Message); } catch (Exception ex) { throw new Exception("Could not delete mail domain alias", ex); } }