IDateMappingGetMemberByDate Method

Gets OlapMember object by date.

Namespace: Dundas.BI.Entities.DateMappings
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
OlapMember GetMemberByDate(
	IOlapCube cube,
	DateTime targetDate,
	string targetLevelUniqueName,
	bool fuzzyResult
)

Parameters

cube  IOlapCube
The cube or cube perspective.
targetDate  DateTime
The target date.
targetLevelUniqueName  String
The target level unique name.
fuzzyResult  Boolean
If set to , if there's no exact match, return a member closest to the specified date.

Return Value

OlapMember
A reference to MemberValue object.
Exceptions
ExceptionCondition
OlapExceptionThrown when date mapping is invalid.
ArgumentNullExceptioncube is .
ArgumentExceptionThrown when targetLevelUniqueName is invalid.
See Also