JAMS Developer Guide
RetainOption Property (Folder)


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

Always (A) Jobs are always retained until specifically deleted.
Never (N) Never retain jobs.
Error (E) Jobs are retained if they complete with a severity of Warning or worse.
Timed (T) Jobs are retained for the specified time after completion.

Syntax
'Declaration
 
<DynamicPropertyHelperAttribute()>
Public Property RetainOption As Retain
'Usage
 
Dim instance As Folder
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

Folder Class
Folder Members