IDataCubeServiceScheduleInMemoryCube Method (Guid, ScheduleRule)

Creates a scheduled task to build an in-memory cube for specific data cube, or deletes existing schedule. A schedule will be created or deleted for the storage job associated with data cube tenant, or for non-tenant job otherwise.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntax
Schedule ScheduleInMemoryCube(
	Guid dataCubeId,
	ScheduleRule scheduleRule
)

Parameters

dataCubeId
Type: SystemGuid
The data cube ID.
scheduleRule
Type: Dundas.BI.SchedulingScheduleRule
The schedule rule defining when the in-memory cube build should take place. Pass to delete existing schedule.

Return Value

Type: Schedule
The created or deleted schedule object.
Exceptions
ExceptionCondition
ArgumentExceptiondataCubeId is Empty.
InvalidOperationExceptionThe schedule could not be deleted because it doesn't exist.
NotFoundExceptionThe specified data cube could not be found.
InvalidSessionExceptionThe caller context is not associated with a valid session.
NoPrivilegeException None of the following conditions have been met:
  1. The caller has Write access to the data cube and the caller's seat kind is Developer.
  2. The caller is a system administrator.
  3. The caller is a tenant administrator for the tenant associated with the data cube.
  4. The caller is a project administrator for the data cube's project.
See Also