Sets a configuration parameter. If the value of the val argument is Null,
this method removes the value. Defaults are used for removed values.
Namespace:
FileNet.Api.Util
Assembly:
FileNet.Api (in FileNet.Api.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function SetParameter ( _ parameter As ConfigurationParameter, _ val As Object _ ) As Object |
| C# |
|---|
public Object SetParameter( ConfigurationParameter parameter, Object val ) |
| Visual C++ |
|---|
public: Object^ SetParameter( ConfigurationParameter parameter, Object^ val ) |
| JavaScript |
|---|
function setParameter(parameter, val); |
Parameters
- parameter
- Type: FileNet.Api.Constants..::.ConfigurationParameter
The configuration parameter value to set.
- val
- Type: System..::.Object
The value of the parameter to set, or Null.
Return Value
The previous value, if any.
Exceptions
| Exception | Condition |
|---|---|
| FileNet.Api.Exception..::.EngineRuntimeException | Thrown if the type or value of the object is invalid. |