Open this page in the API Guide

DateMapping.GetMemberValueByDate 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 (25.1.0.1000)
Syntax
public MemberValue GetMemberValueByDate(
	IOlapCube cube,
	DateTime targetDate,
	string targetLevelUniqueName
)

Parameters

cube
Type: Dundas.BI.Data.Metadata.Olap.IOlapCube
The cube or cube perspective.
targetDate
Type: System.DateTime
The target date.
targetLevelUniqueName
Type: System.String
The target level unique name.

Return Value

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