Sets a configuration parameter.
Namespace: FileNet.Api.Core
Assembly: FileNet.Api (in filenet.api.dll)
If the value of the value argument is
, 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
class.ConfigurationParameter
- value
- The value of the parameter to set, or
. See theNull
class.ConfigurationParameter
Return Value
The previous value.
Exceptions
Exception Type | Condition |
---|---|
EngineRuntimeException | Thrown if the specified parameters are invalid. |