IParameterServiceGetParameterValueFromQueryString(Guid, Guid, String, ParameterValueTypes) Method

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 (26.2.0.1000)
Syntax
ParameterValue GetParameterValueFromQueryString(
	Guid entityId,
	Guid parameterId,
	string queryStringValue,
	ParameterValueTypes valueType
)

Parameters

entityId  Guid
The entity ID.
parameterId  Guid
The parameter ID.
queryStringValue  String
The string that needs to be converted.
valueType  ParameterValueTypes
The ParameterValueTypes expected to be returned if compatible.

Return Value

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