Open this page in the API Guide

BridgeParameter.AttachParameter 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 (25.1.0.1000)
Syntax
public AttachedParameterInfo AttachParameter(
	Parameter parameter,
	ParameterValue defaultValue,
	string expression
)

Parameters

parameter
Type: Dundas.BI.Data.Parameters.Parameter
The data cube parameter.
defaultValue
Type: Dundas.BI.Data.Parameters.ParameterValue
The default value for the attached parameter.
expression
Type: System.String
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 null.
ArgumentExceptionparameter does not have the same parent entity as the current instance or defaultValue is invalid for the specified attached parameter or expression is null or empty.
See Also