protected override IEnumerable <AsyncResult <ActiveDirectoryConnectivityOutcome> > BuildTransactions() { if (base.Context.UseADDriver) { yield return(ActiveDirectoryConnectivityBase.SingleCommandTransactionSync(new ActiveDirectoryConnectivityBase.ActiveDirectoryConnectivityTask(this.SearchUsingADDriver))); } else { yield return(ActiveDirectoryConnectivityBase.SingleCommandTransactionSync(new ActiveDirectoryConnectivityBase.ActiveDirectoryConnectivityTask(this.Search))); } yield break; }
protected override IEnumerable <AsyncResult <ActiveDirectoryConnectivityOutcome> > BuildTransactions() { yield return(ActiveDirectoryConnectivityBase.SingleCommandTransactionSync(new ActiveDirectoryConnectivityBase.ActiveDirectoryConnectivityTask(this.MachinePing))); yield break; }