CaseManagerDelete Method |
The amount of time it will take for this operation to complete will vary based on the whether the database is in use and the number and size of files in the Home Directory if the directory is being removed as well.
Important |
---|
This feature is intended for use in testing with the EdaIntegration Library. Please exercise caution in its use because there is no undo function for this action. |
Namespace: Law.EdaIntegration.Case
public void Delete( string caseId, bool removeHomeDirectory = true )
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); Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 2"); edaIntegration.Cases.Delete(edaCase.Id); } }