/// <summary> /// Starts an export job /// </summary> /// <param name="store">The store to export data from</param> /// <param name="fileName">The name of the file in the brightstar\import folder to write to. This file will be overwritten if it already exists.</param> /// <param name="graphUri">The URI of the graph to be exported. If NULL, all graphs in the store are exported.</param> /// <returns>A JobInfo instance</returns> public IJobInfo StartExport(string store, string fileName, string graphUri) { try { var jobId = _serverCore.Export(store, fileName, graphUri); return(new JobInfoWrapper(new JobInfo { JobId = jobId.ToString(), JobPending = true })); } catch (Exception ex) { Logging.LogError(BrightstarEventId.ServerCoreException, "Error queing export job {0} {1}", store, fileName); throw new BrightstarClientException("Error queing export job in store " + store + ". " + ex.Message, ex); } }