IDataCubeServiceScheduleDataWarehouse Method (Guid, ScheduleRule, NullableGuid)

Creates a scheduled task for warehousing the data cube.

Namespace:  Dundas.BI.Entities.DataCubes
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
Schedule ScheduleDataWarehouse(
	Guid dataCubeId,
	ScheduleRule scheduleRule,
	Guid? tenantId
)

Parameters

dataCubeId
Type: SystemGuid
scheduleRule
Type: Dundas.BI.SchedulingScheduleRule
tenantId
Type: SystemNullableGuid

Return Value

Type: Schedule
Exceptions
ExceptionCondition
NotFoundExceptionStorage job for tenant could not be found.
ArgumentExceptiondataCubeId is Empty.
ArgumentNullExceptionscheduleRule is .
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.
Remarks
If tenantId is not provided, a schedule will be created for the storage job associated with data cube tenant, or for non-tenant job otherwise. If tenantId is provided, a schedule will be created for the storage job associated with that tenant.
See Also