|
Server Component Class: CRFramework.VISControls.VISServerControl
ForceResetJob(JobName As System.String, AppDomainName As System.String)
Returns System.Boolean
The ForceResetJob method sends a request to the BlueSky Integration Studio Server to Reset the specified job to a Ready status. The ForceResetJob ignores the fact that the job may indeed be running. This function should only be used in emergency situations such as when the server goes down, or a process is manually killed on the server. In these situations it is possible for a Job to have a status of Running according the BlueSky Integration Studio repository when it is not really running anymore.
[VB]
Imports CRFramework.VISControls
Dim VIS As VISServerControl |
|
VIS = New VISServerControl() |
|
VIS.UserName = "administrator" |
VIS.Password = "manager" |
VIS.ServerName = "localhost" |
|
VIS.Connect() |
|
VIS.ForceResetJob("myJob", "SharedDomain") |
[C#]
using CRFramework.VISControls;
VISServerControl VIS; |
|
VIS = new VISServerControl(); |
|
VIS.UserName = "administrator"; |
VIS.Password = "manager"; |
VIS.ServerName = "localhost"; |
|
VIS.Connect(); |
VIS.ForceResetJob("myJob", "SharedDomain"); |
|
© 2003 - 2007 Relational Solutions, Inc. - All rights reserved