private void PerformTargetServerValidation() { DatabaseTasksHelper.CheckServerObjectForCopyTask(this.ActivateOnServer, new Task.TaskErrorLoggingDelegate(base.WriteError), this.m_targetServer); if (this.CommandType == MoveActiveMailboxDatabase.CommandTypes.MoveSingleDatabase) { DatabaseCopy databaseCopy; DatabaseCopy[] array; DatabaseTasksHelper.CheckDatabaseCopyForCopyTask(this.m_database, new Task.TaskErrorLoggingDelegate(this.m_output.WriteError), this.m_targetServer, out databaseCopy, out array); } if (this.m_dag == null) { this.m_dag = ((IConfigurationSession)base.DataSession).Read <DatabaseAvailabilityGroup>(this.m_targetServer.DatabaseAvailabilityGroup); } IADDatabaseAvailabilityGroup dag = ADObjectWrapperFactory.CreateWrapper(this.m_dag); if (AmBestCopySelectionHelper.IsServerInDacAndStopped(dag, new AmServerName(this.m_targetServer.Name))) { base.WriteError(new InvalidOperationException(Strings.ErrorServerDacedAndNotStarted(this.m_dag.Name, this.m_targetServer.Name)), ErrorCategory.InvalidOperation, null); } DatabaseTasksHelper.CheckReplayServiceRunningOnNode(this.m_targetAmServer, new Task.TaskErrorLoggingDelegate(base.WriteError)); DagTaskHelper.CheckStoreIsRunning(new Task.TaskErrorLoggingDelegate(base.WriteError), this.m_targetAmServer); if (this.MountDialOverride != DatabaseMountDialOverride.Lossless) { base.VerifyIsWithinScopes((IConfigurationSession)base.DataSession, this.m_targetServer, true, new DataAccessTask <Database> .ADObjectOutOfScopeString(Strings.ErrorServerOutOfScope)); } }
// Token: 0x060019CF RID: 6607 RVA: 0x0006C278 File Offset: 0x0006A478 private bool DoesSourceSupportExtensibleSeedingRequests() { AmServerName serverName = new AmServerName(this.sourceServerFqdn); Exception ex; IADServer miniServer = AmBestCopySelectionHelper.GetMiniServer(serverName, out ex); return(miniServer != null && ServerVersion.Compare(miniServer.AdminDisplayVersion, CiFileSeederProvider.FirstVersionSupportingExtensibleSeedingRequests) >= 0); }