|
|
Job Component |
GetJobStatus method |
|
GetJobStatus() |
Returns: CRJobStatus |
|
The GetJobStatus method reads the job status file and returns a CRJobStatus object which you can use to display or check the status of your job.
Example:
[Visual Basic .NET]
Dim Status As ExportBudget.CRJobStatus |
|
Status = myExportBudgetJob.GetJobStatus() |
|
If Status.JobStatus = ExportBudget.CRJobStatus.StatusTypes.Finished Then |
MsgBox("Your job Finished!") |
Else |
MsgBox("Your job " + Status.JobStatus.ToString()) |
End If |
|
[C#]
ExportBudget.CRJobStatus Status; |
|
Status = myExportBudgetJob.GetJobStatus(); |
|
if (Status.JobStatus == ExportBudget.CRJobStatus.StatusTypes.Finished) |
{ |
MessageBox.Show("Your Job Finished!"); |
} |
else |
{ |
MessageBox.Show("Your Job " + Status.JobStatus.ToString()); |
} |
|
|
© 2003 - 2007 Relational Solutions, Inc. - All rights reserved