BridgeParameterAttachParameter Method (Parameter, ParameterValue, String)

Attaches the data cube parameter to the current instance, using the specified expression.

Namespace:  Dundas.BI.Data.Parameters
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
public AttachedParameterInfo AttachParameter(
	Parameter parameter,
	ParameterValue defaultValue,
	string expression
)

Parameters

parameter
Type: Dundas.BI.Data.ParametersParameter
The data cube parameter.
defaultValue
Type: Dundas.BI.Data.ParametersParameterValue
The default value for the attached parameter.
expression
Type: SystemString
The expression to use for calculating the value for the attached parameter.

Return Value

Type: AttachedParameterInfo
The attached parameter information.
Exceptions
ExceptionCondition
ArgumentNullExceptionparameter or defaultValue is .
ArgumentExceptionparameter does not have the same parent entity as the current instance or defaultValue is invalid for the specified attached parameter or expression is or empty.
See Also