ExportDocumentManagerAll Method |
Namespace: Law.EdaIntegration.Exports
public IEnumerable<IExportDocument> All( bool includeReceivedDocs = false )
using Law.EdaIntegration; class Sample { public static void Main() { string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword"; EdaIntegration edaIntegration = new EdaIntegration(); edaIntegration.InitializeEnvironment(connectionString); Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); Export export = edaCase.Exports.ByName("Export-001"); foreach (IExportDocument doc in export.Documents.All()) { Console.WriteLine("{0}: {1}", doc.ExportNumber, doc.FileName); } } } /* This example produces the following results: 00001160: Unprofitable actions.msg 00001155: Four Attributes.msg 00002241: Technology outlook.pdf 00001163: Load Forecasting Technology.msg 00002240: Book1.xlsx 00001159: Monthly data.msg 00001170: Viewpoint from above.msg 00001168: Scope.docx 00001166: Key Stats YTD 2011.xlsx 00001167: Forecast 2012.pptx */