ISourceManagerByImportSet Method |
Namespace: EdaIntegrationContract.Import
IEnumerable<ISource> ByImportSet( int importSetId, int custodianId = 0 )
using EdaIntegrationContract; using EdaIntegrationContract.Case; using EdaIntegrationContract.Import; class Sample { public static void Main() { var edaIntegration = new EdaIntegration().ConnectToExplore(); ICase edaCase = edaIntegration.Cases.OpenCaseByName("Case 1"); foreach(ISource source in edaCase.Sources.ByImportSet(3)) { Console.WriteLine("Id: " + source.Id); Console.WriteLine("Name: " + source.Name); Console.WriteLine("Type: " + source.Type); Console.WriteLine("CustodianId: " + source.CustodianId); Console.WriteLine("Description: " + source.Description); } } } /* This example produces the following results: Id: 15 Name: Petes Data Type: Folder CustodianId: 4 Id: 16 Name: Bobs Data Type: Folder CustodianId: 5 */