Sets a configuration parameter. If the value of the
argument is
, 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( _ ByVal parameter As ConfigurationParameter, _ ByVal val As Object _ ) As Object |
C# |
---|
public object SetParameter( ConfigurationParameter parameter, object val ) |
C++ |
---|
public: Object SetParameter( ConfigurationParameter parameter, Object val ) sealed |
J# |
---|
public object SetParameter( ConfigurationParameter parameter, object val ) |
JScript |
---|
public
function SetParameter( parameter : ConfigurationParameter, val : Object ) : Object |
Parameters
- parameter
- The configuration parameter value to set.
- val
- The value of the parameter to set, or
.Null
Return Value
The previous value, if any.
Exceptions
Exception Type | Condition |
---|---|
EngineRuntimeException | Thrown if the type or value of the object is invalid. |