Ejemplo n.º 1
0
        protected int UpdateMservEntry(string address, int newPartnerId)
        {
            int num = MServDirectorySession.ReadMservEntry(address);

            if (num != -1)
            {
                MServDirectorySession.RemoveMserveEntry(address, num);
                MServDirectorySession.AddMserveEntry(address, newPartnerId);
            }
            else
            {
                base.WriteError(new TenantNotFoundException(DirectoryStrings.TenantNotFoundInMservError(address)), ExchangeErrorCategory.Client, null);
            }
            return(newPartnerId);
        }
Ejemplo n.º 2
0
 protected int AddMservEntry(string address, int newPartnerId)
 {
     MServDirectorySession.AddMserveEntry(address, newPartnerId);
     return(newPartnerId);
 }