A Sandcastle Documented Class Library

# IDataCubeService ScheduleDataWarehouse Method (Guid, ScheduleRule, Nullable Guid )

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 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    Schedule ScheduleDataWarehouse(
    	Guid dataCubeId,
    	ScheduleRule scheduleRule,
    	Guid? tenantId
    )

    Function ScheduleDataWarehouse (
    	dataCubeId As Guid,
    	scheduleRule As ScheduleRule,
    	tenantId As Guid?
    ) As Schedule

    Schedule^ ScheduleDataWarehouse(
    	Guid dataCubeId,
    	ScheduleRule^ scheduleRule,
    	Nullable<Guid> tenantId
    )

    abstract ScheduleDataWarehouse :
            dataCubeId : Guid *
            scheduleRule : ScheduleRule *
            tenantId : Nullable<Guid> -> Schedule

#### Parameters

dataCubeId
  Type: System
  Guid
scheduleRule
  Type: Dundas.BI.Scheduling
  ScheduleRule
tenantId
  Type: System
  Nullable
  Guid

#### Return Value

Type: Schedule
Exceptions

Exception | Condition
--- | ---
NotFoundException | Storage job for tenant could not be found.
ArgumentException | dataCubeId is Empty.
ArgumentNullException | scheduleRule is .
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.

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

#### Reference

IDataCubeService Interface
ScheduleDataWarehouse Overload
Dundas.BI.Entities.DataCubes Namespace