Click or drag to resize

IndexManagerUpdateProperties Method

Saves the indexing properties for the case.

Namespace:  Law.EdaIntegration.Indexing
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.3
Syntax
C#
public void UpdateProperties()
Remarks
Modifications to the properties are not saved to the case until UpdateProperties is called.
Examples
The following example demonstrates updating the indexing properties for a case.
C#
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
using Law.EdaIntegration.Indexing;

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");
        edaCase.Index.Properties.IndexingEnabled = true;            
        edaCase.Index.Properties.MaxIndexingWorkers = 4;            

        // Save the changes to the case
        edaCase.Index.UpdateProperties();
    }
}
See Also