JAMS Developer Guide
Restart Method (IEntryWCF)


MVPSI.JAMS Namespace > IEntryWCF Interface : Restart Method
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 entry.
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)>
Function Restart( _
   ByVal jamsEntry As System.Integer, _
   ByVal holdEntry As System.Boolean, _
   ByVal severity As Severity, _
   ByVal comment As System.String _
) As System.Threading.Tasks.Task
'Usage
 
Dim instance As IEntryWCF
Dim jamsEntry As System.Integer
Dim holdEntry As System.Boolean
Dim severity As Severity
Dim comment As System.String
Dim value As System.Threading.Tasks.Task
 
value = instance.Restart(jamsEntry, holdEntry, severity, comment)
[System.ServiceModel.OperationContract()]
[System.ServiceModel.FaultContract(DetailType=MVPSI.JAMS.JAMSException, 
   Action="", 
   Name="", 
   Namespace="", 
   ProtectionLevel=ProtectionLevel.None, 
   HasProtectionLevel=false)]
System.Threading.Tasks.Task Restart( 
   System.int jamsEntry,
   System.bool holdEntry,
   Severity severity,
   System.string comment
)

Parameters

jamsEntry
The JAMSEntry of the entry to restart.
holdEntry
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 entry.
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

IEntryWCF Interface
IEntryWCF Members