/// <summary> /// Creates a new data file for the specified store that contains only the data required for the current state. /// </summary> /// <param name="store">Store name</param> /// <returns>An IJobInfo instance</returns> public IJobInfo ConsolidateStore(string store) { try { var jobId = _serverCore.Consolidate(store); return(new JobInfoWrapper(new JobInfo { JobId = jobId.ToString(), JobPending = true })); } catch (Exception ex) { Logging.LogError(BrightstarEventId.ServerCoreException, "Error queing consolidate job {0}", store); throw new BrightstarClientException("Error queing export job in store " + store + ". " + ex.Message, ex); } }