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)
Syntaxpublic 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.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:
AttachedParameterInfoThe attached parameter information.
ExceptionsException | Condition |
---|
ArgumentNullException | parameter or defaultValue is null. |
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 null or empty. |
See Also