Sets a configuration parameter.

If the value of the value argument is Null, this method removes the value. Defaults are used for removed values.

Namespace:  FileNet.Api.Core
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Function SetParameter ( _
	parameter As ConfigurationParameter, _
	value As Object _
) As Object
C#
Object SetParameter(
	ConfigurationParameter parameter,
	Object value
)
Visual C++
Object^ SetParameter(
	ConfigurationParameter parameter, 
	Object^ value
)
JavaScript
function setParameter(parameter, value);

Parameters

parameter
Type: FileNet.Api.Constants..::.ConfigurationParameter
The configuration parameter to set. See the ConfigurationParameter class.
value
Type: System..::.Object
The value of the parameter to set, or Null. See the ConfigurationParameter class.

Return Value

The previous value.

ToggleExceptions

ExceptionCondition
FileNet.Api.Exception..::.EngineRuntimeException Thrown if the specified parameters are invalid.

ToggleSee Also