| ICustodianManagerByImportSet Method |
Retrieves the list of Custodians that had input in the supplied Import Set
Namespace:
EdaIntegrationContract.Import
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 7.6
Syntax IEnumerable<ICustodian> ByImportSet(
int importSetId
)
Parameters
- importSetId
- Type: SystemInt32
The identifier of the import set to find
Return Value
Type:
IEnumerableICustodianA list of
ICustodians
Exceptions Exception | Condition |
---|
EdaApiException | Thrown if a custodian cannot be found with the specified name |
Examples
The following example demonstrates retrieving a custodian using its name.
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 (ICustodian custodian in edaCase.Custodians.ByImportSet(123))
{
Console.WriteLine("Id: " + custodian.Id);
Console.WriteLine("Name: " + custodian.Name);
}
}
}
See Also