JAMS 6.x Help
RetainOption Property (Setup)


Gets or sets the retention policy for this Setup. The options are:

Never (N) Error (E) Timed (T)
Not Specified The retention policy is taken from the Setup's Folder definition.
Always (A) Setup is always retained until specifically deleted.
Never retain the Setup.
Setup is retained if it fails.
Setup is retained for the specified time after completion.

Syntax
'Declaration
 
<System.ComponentModel.CategoryAttribute("Completion")>
<System.ComponentModel.DescriptionAttribute("Specifies the retention policy for this setup.  The default comes from the setup's folder definition.")>
<System.ComponentModel.DefaultValueAttribute()>
Public Property RetainOption As Retain
'Usage
 
Dim instance As Setup
Dim value As Retain
 
instance.RetainOption = value
 
value = instance.RetainOption
[System.ComponentModel.Category("Completion")]
[System.ComponentModel.Description("Specifies the retention policy for this setup.  The default comes from the setup's folder definition.")]
[System.ComponentModel.DefaultValue()]
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

Setup Class
Setup Members