| CaseManagerOpenCaseByName Method |
Retrieves a specific case by its name
Namespace:
Law.EdaIntegration.Case
Assembly:
Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax public Case OpenCaseByName(
string caseName
)
Parameters
- caseName
- Type: SystemString
The name of the case
Return Value
Type:
CaseA case object
Exceptions Examples
This example demonstrates retrieving a specific case by its name
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
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);
string caseName = "Case 1";
Case edaCase = edaIntegration.Cases.OpenCaseByName(caseName);
Console.WriteLine("Name: " + edaCase.Name);
Console.WriteLine("Client: " + edaCase.Client);
Console.WriteLine("Description: " + edaCase.Description);
Console.WriteLine("Last Accessed: " + edaCase.LastAccessed);
}
}
See Also