Open this page in the API Guide

IParameterService.GetParameterValueFromQueryStringValue 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 (25.1.0.1000)
Syntax
ParameterValue GetParameterValueFromQueryStringValue(
	Guid entityId,
	Guid parameterId,
	QueryStringValue queryStringValue,
	ParameterValueTypes valueType
)

Parameters

entityId
Type: System.Guid
The entity ID.
parameterId
Type: System.Guid
The parameter ID.
queryStringValue
Type: Dundas.BI.Data.Parameters.QueryStringValue
The QueryStringValue that needs to be converted.
valueType
Type: Dundas.BI.Data.Parameters.ParameterValueTypes
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 null.
NotFoundExceptionIAnalysisStructure cannot be found for the entityId.
See Also