SalienceCollection.AddSalienceConfiguration

<< SalienceCollection.DumpEnvironment | Back to Salience 6 .Net Index | SalienceCollection.RemoveSalienceConfiguration >>

Summary

Supports the analysis of content through multiple user directories.
This method adds the specified user directory, with the customizations and tuning it contains, to the specified Salience session. After adding a configuration to the Salience session, additional processing options and results from various API methods can be retrieved by using the identifier provided in configurationID.
Calling this method with a value for configurationID that has been previously added will result in an error code returned.
This is a wrapper around the underlying C API method lxaAddSalienceConfiguration.

Syntax

public void AddSalienceConfiguration(String userDir, String configurationID)

Parameters

userDir Path to a user directory to use for this configuration
configurationID String specifying a unique identifier for this configuration

Returns

Integer return code. LXA_OK indicates success, LXA_CONFIG_IN_USE indicates the provided configuration ID has already been added to the session.

<< SalienceCollection.DumpEnvironment | Back to Salience 6 .Net Index | SalienceCollection.RemoveSalienceConfiguration >>