IJobServiceSetJobIsEnabled 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.3.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: SystemGuid
ID of the job. - isEnabled
 - Type: SystemBoolean
If set to  the job will be enabled, otherwise, disabled. 
Return Value
Type: 
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