MVPSI.JAMS Namespace > Job Class : RetainOption Property |
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. |
'Declaration
<System.ComponentModel.CategoryAttribute("Completion")> <System.ComponentModel.DescriptionAttribute("Specifies the retention policy for this job. The default comes from the job's folder definition.")> <System.ComponentModel.DefaultValueAttribute()> Public Property RetainOption As Retain
'Usage
Dim instance As Job Dim value As Retain instance.RetainOption = value value = instance.RetainOption
[System.ComponentModel.Category("Completion")] [System.ComponentModel.Description("Specifies the retention policy for this job. The default comes from the job's folder definition.")] [System.ComponentModel.DefaultValue()] public Retain RetainOption {get; set;}
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