DateMappingGetMemberValueByDate Method

Gets MemberValue object by date.

Namespace:  Dundas.BI.Entities.DateMappings
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public MemberValue GetMemberValueByDate(
	IOlapCube cube,
	DateTime targetDate,
	string targetLevelUniqueName
)

Parameters

cube
Type: Dundas.BI.Data.Metadata.OlapIOlapCube
The cube or cube perspective.
targetDate
Type: SystemDateTime
The target date.
targetLevelUniqueName
Type: SystemString
The target level unique name.

Return Value

Type: MemberValue
A reference to MemberValue object.
Exceptions
ExceptionCondition
ArgumentNullExceptioncube is .
OlapExceptionThrown when date mapping is invalid.
NotFoundExceptionThrown when targetLevelUniqueName is invalid.
See Also