JAMS Developer Guide
RetainOption Property (Job)


MVPSI.JAMS Namespace > Job Class : RetainOption Property
Gets or sets the retention policy for this Job. The options are:

Not Specified The retention policy is taken from the Job's Folder definition.
Always (A) Job is always retained until specifically deleted.
Never (N) Never retain job.
Error (E) Job is retained if it completes with a severity of Warning or worse.
Timed (T) Job is retained for the specified time after completion.

Syntax
'Declaration
 
<DynamicPropertyHelperAttribute()>
Public Property RetainOption As Retain
'Usage
 
Dim instance As Job
Dim value As Retain
 
instance.RetainOption = value
 
value = instance.RetainOption
[DynamicPropertyHelper()]
public Retain RetainOption {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Job Class
Job Members