IParameterServiceGetParameterValueFromQueryStringValue Method (Guid, Guid, QueryStringValue, ParameterValueTypes)

Gets a ParameterValue from a QueryStringValue, if the ParameterValueTypes value of the returned ParameterValue does not match the type requested by valueType then a ParameterValue with a Token of NoSelection will be returned.

Namespace:  Dundas.BI.Data.Parameters
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
ParameterValue GetParameterValueFromQueryStringValue(
	Guid entityId,
	Guid parameterId,
	QueryStringValue queryStringValue,
	ParameterValueTypes valueType
)

Parameters

entityId
Type: SystemGuid
The entity ID.
parameterId
Type: SystemGuid
The parameter ID.
queryStringValue
Type: Dundas.BI.Data.ParametersQueryStringValue
The QueryStringValue that needs to be converted.
valueType
Type: Dundas.BI.Data.ParametersParameterValueTypes
The ParameterValueTypes expected to be returned if compatible.

Return Value

Type: ParameterValue
A ParameterValue created according to the string in the QueryStringValue.
Exceptions
ExceptionCondition
ArgumentExceptionentityId is Empty or the value of queryStringValue is an empty string.
ArgumentNullExceptionqueryStringValue is .
NotFoundExceptionIAnalysisStructure cannot be found for the entityId.
See Also