Back to Index

 

 

Job Component

     CurrentStatus Property

 

     Type:  enum ReturnStatusTypes

 

The CurrentStatus property returns a ReturnStatusTypes enumeration value that indicates the current status of the job.  You can use it instead of GetJobStatus to simplify coding.

Example:

[Visual Basic .NET]

 

If myExportBudgetJob.CurrentStatus = ExportBudget.ReturnStatusTypes.Finished Then

     MsgBox("Your job Finished!")

Else

     MsgBox("Your job " + myExportBudgetJob.CurrentStatus.ToString())

End If

 

[C#]

 

if (myExportBudgetJob.CurrentStatus == ExportBudget.ReturnStatusTypes.Finished )

{

     MessageBox.Show("Your Job Finished!");

}

else

{

     MessageBox.Show("Your Job " + myExportBudgetJob.CurrentStatus.ToString());

}

 

 

 


© 2003 - 2007 Relational Solutions, Inc. - All rights reserved