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 (24.3.0.1000)
Syntax
OlapMember GetMemberByDate(
	IOlapCube cube,
	DateTime targetDate,
	string targetLevelUniqueName,
	bool fuzzyResult
)

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.
fuzzyResult
Type: SystemBoolean
If set to , if there's no exact match, return a member closest to the specified date.

Return Value

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