BridgeParameterAttachParameter(Parameter, ParameterValue, String) Method |
Attaches the data cube parameter to the current instance, using the specified expression.
Namespace: Dundas.BI.Data.ParametersAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.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 Parameter
- The data cube parameter.
- defaultValue ParameterValue
- The default value for the attached parameter.
- expression String
- The expression to use for calculating the value for the attached parameter.
Return Value
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