IDataCubeServiceScheduleInMemoryCube(Guid, ScheduleRule) Method |
Creates a scheduled task to build an in-memory cube for specific data cube.
A schedule will be created for the storage job associated with data cube tenant, or for non-tenant job otherwise.
Namespace: Dundas.BI.Entities.DataCubesAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
SyntaxSchedule ScheduleInMemoryCube(
Guid dataCubeId,
ScheduleRule scheduleRule
)
Function ScheduleInMemoryCube (
dataCubeId As Guid,
scheduleRule As ScheduleRule
) As Schedule
Schedule^ ScheduleInMemoryCube(
Guid dataCubeId,
ScheduleRule^ scheduleRule
)
abstract ScheduleInMemoryCube :
dataCubeId : Guid *
scheduleRule : ScheduleRule -> Schedule Parameters
- dataCubeId Guid
- The data cube ID.
- scheduleRule ScheduleRule
- The schedule rule defining when the in-memory cube build should take place.
Return Value
ScheduleThe created schedule object.
Exceptions| Exception | Condition |
|---|
| ArgumentException | dataCubeId is Empty. |
| ArgumentNullException | scheduleRule is . |
| NotFoundException | The specified data cube could not be found. |
| InvalidSessionException | The caller context is not associated with a valid session. |
| NoPrivilegeException |
None of the following conditions have been met:
- The caller has Write access to the data cube and the caller's seat kind is Developer.
- The caller is a system administrator.
- The caller is a tenant administrator for the tenant associated with the data cube.
- The caller is a project administrator for the data cube's project.
|
See Also