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.3.0.1000)
Syntax public AttachedParameterInfo AttachParameter(
Parameter parameter,
ParameterValue defaultValue,
string expression
)
Public Function AttachParameter (
parameter As Parameter,
defaultValue As ParameterValue,
expression As String
) As AttachedParameterInfo
public:
AttachedParameterInfo^ AttachParameter(
Parameter^ parameter,
ParameterValue^ defaultValue,
String^ expression
)
member AttachParameter :
parameter : Parameter *
defaultValue : ParameterValue *
expression : string -> AttachedParameterInfo
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:
AttachedParameterInfoThe attached parameter information.
Exceptions Exception | Condition |
---|
ArgumentNullException | parameter or defaultValue is . |
ArgumentException | parameter 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