Click or drag to resize

IIndexManagerUpdateProperties Method

Saves the indexing properties for the case.

Namespace:  EdaIntegrationContract.Indexing
Assembly:  EdaIntegration.Contract (in EdaIntegration.Contract.dll) Version: 1.0
Syntax
C#
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 EdaIntegrationContract;
using EdaIntegrationContract.Case;
using EdaIntegrationContract.Indexing;

class Sample
{
    public static void Main()
    {
        var edaIntegration = new EdaIntegration().ConnectToExplore();
        ICase 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