FunctionDefinitionValidateFunctionSettings Method

Validates the function setting values against their type, valid values and allowed range. It does not validate any parameter relationships.

Namespace:  Dundas.BI.Data.Functions
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public virtual bool ValidateFunctionSettings(
	IEnumerable<ParameterValue> settingValues,
	out ParameterValue invalidSettingValue,
	out string errorMessage
)

Parameters

settingValues
Type: System.Collections.GenericIEnumerableParameterValue
The function setting values.
invalidSettingValue
Type: Dundas.BI.Data.ParametersParameterValue
The invalid setting value, if one is found.
errorMessage
Type: SystemString
The error message.

Return Value

Type: Boolean
if all function setting values are valid; otherwise, .
Remarks
If a setting value is not found in the value list, the default value is used instead.
See Also