IJobServiceSetJobIsEnabled Method |
Specifies whether the job is enabled.
Namespace: Dundas.BI.SchedulingAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxbool SetJobIsEnabled(
Guid jobId,
bool isEnabled
)
Function SetJobIsEnabled (
jobId As Guid,
isEnabled As Boolean
) As Boolean
bool SetJobIsEnabled(
Guid jobId,
bool isEnabled
)
abstract SetJobIsEnabled :
jobId : Guid *
isEnabled : bool -> bool Parameters
- jobId Guid
- ID of the job.
- isEnabled Boolean
- If set to the job will be enabled, otherwise, disabled.
Return Value
Boolean if the job was successfully modified or if no change was necessary.
if the job was not immediately
modified because it was running.
Exceptions
See Also