IJobService.SetJobIsEnabled Method |
Specifies whether the job is enabled.
Namespace:
Dundas.BI.Scheduling
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.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
- Type: System.Guid
ID of the job. - isEnabled
- Type: System.Boolean
If set to true the job will be enabled, otherwise, disabled.
Return Value
Type:
Booleantrue if the job was successfully modified or if no change was necessary.
false if the job was not immediately
modified because it was running.
Exceptions
See Also