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)

Syntax

Visual Basic (Declaration)
Function SetParameter( _ 
   ByVal parameter As ConfigurationParameter,  _ 
   ByVal value As Object _ 
) As Object
C#
object SetParameter(
   ConfigurationParameter parameter,
   object value
)
C++
Object SetParameter(
   ConfigurationParameter parameter,
   Object value
) abstract 
J#
object SetParameter(
   ConfigurationParameter parameter,
   object value
)
JScript
function SetParameter(
   parameter : ConfigurationParameter,
   value : Object
) : Object

Parameters

parameter
The configuration parameter to set. See the ConfigurationParameter class.
value
The value of the parameter to set, or Null. See the ConfigurationParameter class.

Return Value

The previous value.

Exceptions

Exception TypeCondition
EngineRuntimeException Thrown if the specified parameters are invalid.

See Also