Back to API Home

Sets the date range.

Namespace: Dundas.Dashboard.Business
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
public void SetDateRange(
	DateTime startDate,
	DateTime endDate,
	DateTimeGrain grain = DateTimeGrain.Day
)
Visual Basic
Public Sub SetDateRange ( 
	startDate As DateTime,
	endDate As DateTime,
	Optional grain As DateTimeGrain = DateTimeGrain.Day
)

Parameters

startDate
Type: System..::..DateTime
The start date.
endDate
Type: System..::..DateTime
The end date.
grain (Optional)
Type: DateTimeGrain
The date grain.

See Also