 | ICustodianManagerCreate Method |
Creates a new custodian for a case
Namespace:
EdaIntegrationContract.Import
Assembly:
EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
SyntaxICustodian Create(
string custodianName
)
Parameters
- custodianName
- Type: SystemString
The name of the new custodian
Return Value
Type:
ICustodianThe custodian created
Exceptions
Examples
This example demonstrates how to create a new custodian for a case.
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");
ICustodian custodian = edaCase.Custodians.Create("A new custodian");
Console.WriteLine("Id: {0}, Name: {1}", custodian.Id, custodian.Name);
}
}
See Also