示例#1
0
        // Token: 0x060006EB RID: 1771 RVA: 0x00020E40 File Offset: 0x0001F040
        public AmBestCopySelection(Guid dbGuid, IADDatabase database, AmDbActionCode actionCode, AmMultiNodeCopyStatusFetcher statusFetcher, AmServerName sourceServerName, AmConfig amConfig, DatabaseMountDialOverride mountDialOverride, AmBcsSkipFlags skipValidationChecks, AmDbAction.PrepareSubactionArgsDelegate prepareSubaction, string componentName)
        {
            this.m_amConfig          = amConfig;
            this.m_statusFetcher     = statusFetcher;
            this.m_mountDialOverride = mountDialOverride;
            IAmBcsErrorLogger errorLogger = new AmBcsServerFailureLogger(dbGuid, database.Name, true);

            this.m_bcsContext                      = new AmBcsContext(dbGuid, sourceServerName, errorLogger);
            this.m_bcsContext.Database             = database;
            this.m_bcsContext.ActionCode           = actionCode;
            this.m_bcsContext.SkipValidationChecks = skipValidationChecks;
            this.m_bcsContext.InitiatingComponent  = componentName;
            this.m_bcsContext.PrepareSubaction     = prepareSubaction;
            this.m_perfTracker                     = new BcsPerformanceTracker(prepareSubaction);
        }
        // Token: 0x06000724 RID: 1828 RVA: 0x00022AB8 File Offset: 0x00020CB8
        public AmSingleCopySelection(Guid dbGuid, IADDatabase database, AmDbActionCode actionCode, AmServerName sourceServerName, AmServerName targetServerName, AmConfig amConfig, AmBcsSkipFlags skipValidationChecks, AmDbAction.PrepareSubactionArgsDelegate prepareSubaction)
        {
            this.m_amConfig         = amConfig;
            this.m_targetServerName = targetServerName;
            IAmBcsErrorLogger errorLogger = new AmBcsServerFailureLogger(dbGuid, database.Name, true);

            this.m_bcsContext                      = new AmBcsContext(dbGuid, sourceServerName, errorLogger);
            this.m_bcsContext.Database             = database;
            this.m_bcsContext.ActionCode           = actionCode;
            this.m_bcsContext.SkipValidationChecks = skipValidationChecks;
            this.m_bcsContext.PrepareSubaction     = prepareSubaction;
            this.m_perfTracker                     = new BcsPerformanceTracker(prepareSubaction);
        }
示例#3
0
 // Token: 0x060006EA RID: 1770 RVA: 0x00020E1C File Offset: 0x0001F01C
 public AmBestCopySelection(Guid dbGuid, IADDatabase database, AmDbActionCode actionCode, AmMultiNodeCopyStatusFetcher statusFetcher, AmServerName sourceServerName, AmConfig amConfig, DatabaseMountDialOverride mountDialOverride, AmBcsSkipFlags skipValidationChecks, AmDbAction.PrepareSubactionArgsDelegate prepareSubaction) : this(dbGuid, database, actionCode, statusFetcher, sourceServerName, amConfig, mountDialOverride, skipValidationChecks, prepareSubaction, null)
 {
 }
 // Token: 0x06001B54 RID: 6996 RVA: 0x000759FE File Offset: 0x00073BFE
 public BcsPerformanceTracker(AmDbAction.PrepareSubactionArgsDelegate prepareSubAction) : base("BcsPerf")
 {
     this.m_prepareSubAction = prepareSubAction;
 }