IDataCubeServiceRemoveSchedule Method |
Deletes any existing schedule for specified the data cube.
A schedule will be 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 (9.0.0.1000)
SyntaxSchedule RemoveSchedule(
Guid dataCubeId,
Nullable<Guid> tenantId
)
Function RemoveSchedule (
dataCubeId As Guid,
tenantId As Nullable(Of Guid)
) As Schedule
Schedule^ RemoveSchedule(
Guid dataCubeId,
Nullable<Guid> tenantId
)
abstract RemoveSchedule :
dataCubeId : Guid *
tenantId : Nullable<Guid> -> Schedule
Parameters
- dataCubeId
- Type: SystemGuid
The data cube ID. - tenantId
- Type: SystemNullableGuid
The tenant ID.
Return Value
Type:
ScheduleThe deleted schedule object.
Exceptions| Exception | Condition |
|---|
| ArgumentException | dataCubeId is Empty. |
| InvalidOperationException | The schedule could not be deleted because it doesn't exist. |
| NotFoundException | The specified data cube could not be found. |
| InvalidSessionException | The caller context is not associated with a valid session. |
Remarks
If tenantId is not provided, a schedule will be deleted for the storage job associated with data cube tenant,
or for non-tenant job otherwise. If tenantId is provided, a schedule will be deleted for the storage job associated with that tenant.
See Also