public void CarryOverPreviousStatus(ReplicaInstanceContextMinimal previousContext) { if (previousContext != null) { this.ExternalStatus.CarryOverPreviousStatus(previousContext.LastCopyStatus); } }
// Token: 0x06000C85 RID: 3205 RVA: 0x00037214 File Offset: 0x00035414 public ExternalReplicaInstanceStatus(ReplicaInstanceContext currentContext, ReplicaInstanceContextMinimal previousContext, ReplayConfigType configurationType, IPerfmonCounters perfmonCounters, ReplayState replayState) { this.CurrentContext = currentContext; this.PreviousContext = previousContext; this.ConfigType = configurationType; this.PerfmonCounters = perfmonCounters; this.ReplayState = replayState; if (ThirdPartyManager.IsThirdPartyReplicationEnabled && this.ConfigType == ReplayConfigType.RemoteCopyTarget) { this.LastCopyStatus = CopyStatusEnum.NonExchangeReplication; } else { this.LastCopyStatus = CopyStatusEnum.Unknown; } this.m_displayName = currentContext.DisplayName; this.m_identity = currentContext.Identity; this.DatabaseName = currentContext.DatabaseName; }