Open this page in the API Guide

IDateMapping.GetPreviousMember Method

Gets the previous member for provided 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
string GetPreviousMember(
	IOlapCube cube,
	DateTime? memberTime,
	string levelUniqueName
)

Parameters

cube
Type: Dundas.BI.Data.Metadata.Olap.IOlapCube
The cube or cube perspective.
memberTime
Type: System.Nullable<DateTime>
The member time.
levelUniqueName
Type: System.String
The level unique name.

Return Value

Type: String
Member unique name or empty string if it doesn't exist.
See Also