示例#1
0
 protected override void PostSaveAction()
 {
     using (MailboxReplicationServiceClient mailboxReplicationServiceClient = this.DataObject.CreateMRSClient(base.ConfigSession, this.mdbGuid, base.UnreachableMrsServers))
     {
         mailboxReplicationServiceClient.RefreshMoveRequest(base.LocalADUser.ExchangeGuid, this.mdbGuid, MoveRequestNotification.Updated);
     }
 }
示例#2
0
 protected override void PostSaveAction()
 {
     using (MailboxReplicationServiceClient mailboxReplicationServiceClient = this.DataObject.CreateMRSClient(base.ConfigSession, this.mdbGuid, base.UnreachableMrsServers))
     {
         mailboxReplicationServiceClient.RefreshMoveRequest(base.LocalADUser.ExchangeGuid, this.mdbGuid, MoveRequestNotification.SuspendResume);
     }
     base.WriteVerbose(Strings.ResumeSuccessInformationalMessage(base.LocalADUser.ToString()));
 }
 public static void TickleMRS(TransactionalRequestJob requestJob, MoveRequestNotification notification, Guid mdbGuid, ITopologyConfigurationSession configSession, List <string> unreachableServers)
 {
     using (MailboxReplicationServiceClient mailboxReplicationServiceClient = requestJob.CreateMRSClient(configSession, mdbGuid, unreachableServers))
     {
         if (notification == MoveRequestNotification.Canceled && mailboxReplicationServiceClient.ServerVersion[3])
         {
             mailboxReplicationServiceClient.RefreshMoveRequest2(requestJob.RequestGuid, mdbGuid, (int)requestJob.Flags, notification);
         }
         else
         {
             mailboxReplicationServiceClient.RefreshMoveRequest(requestJob.RequestGuid, mdbGuid, notification);
         }
     }
 }
 protected override void PostSaveAction()
 {
     if (!base.ParameterSetName.Equals("MigrationMoveRequestQueue") && this.mrCondition == RemoveMoveRequest.MoveRequestCondition.None && this.DataObject != null)
     {
         TransactionalRequestJob dataObject = this.DataObject;
         using (MailboxReplicationServiceClient mailboxReplicationServiceClient = dataObject.CreateMRSClient(base.ConfigSession, this.mdbGuid, base.UnreachableMrsServers))
         {
             if (mailboxReplicationServiceClient.ServerVersion[3])
             {
                 mailboxReplicationServiceClient.RefreshMoveRequest2(this.DataObject.ExchangeGuid, this.mdbGuid, (int)dataObject.Flags, MoveRequestNotification.Canceled);
             }
             else
             {
                 mailboxReplicationServiceClient.RefreshMoveRequest(this.DataObject.ExchangeGuid, this.mdbGuid, MoveRequestNotification.Canceled);
             }
         }
     }
 }