| ExcludedContentManagerUpdate Method |
Updates Early Data Analyzer with any changed values for the excluded content item.
Namespace:
Law.EdaIntegration.NearDuplicate
Assembly:
Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax Exceptions Exception | Condition |
---|
EdaApiException | Thrown if an excluded content item cannot be found with the a matching Id. |
Examples
This example demonstrates changing an excluded content item.
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
using Law.EdaIntegration.NearDuplicate;
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 1");
string phrase = "This e-mail may contain information that is privileged or confidential.";
ExcludedContentItem item = edaCase.NearDuplicates.Properties.ExcludedContent.Create(phrase);
Console.WriteLine("Before");
Console.WriteLine("({0}): {1}", item.Id, item.Phrase);
item.Phrase = "This e-mail contains information that is privileged or confidential.";
edaCase.NearDuplicates.Properties.ExcludedContent.Update(item);
Console.WriteLine("After");
Console.WriteLine("({0}): {1}", item.Id, item.Phrase);
}
}
See Also