JAMS 6.x Help
Restart Method (ICurJobManageSQL)


The JAMSEntry of the entry to restart.
True to hold the entry until manually released.
The completion severity for the cancelation.
A comment to be added to the audit trail for the job.
Restarts the specified entry. The entry is aborted and restarted.
Syntax
'Declaration
 
<System.ServiceModel.OperationContractAttribute()>
<System.ServiceModel.FaultContractAttribute(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=False)>
Sub Restart( _
   ByVal jamsEntry As System.Integer, _
   ByVal holdJob As System.Boolean, _
   ByVal severity As Severity, _
   ByVal comment As System.String _
) 
'Usage
 
Dim instance As ICurJobManageSQL
Dim jamsEntry As System.Integer
Dim holdJob As System.Boolean
Dim severity As Severity
Dim comment As System.String
 
instance.Restart(jamsEntry, holdJob, severity, comment)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
void Restart( 
   System.int jamsEntry,
   System.bool holdJob,
   Severity severity,
   System.string comment
)

Parameters

jamsEntry
The JAMSEntry of the entry to restart.
holdJob
True to hold the entry until manually released.
severity
The completion severity for the cancelation.
comment
A comment to be added to the audit trail for the job.
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

ICurJobManageSQL Interface
ICurJobManageSQL Members

Send Feedback