PredModelBuilder.Status
The Status property is a read-only ePredBuildStatus enumerated type. This property indicates the current status of a model build thread.
Definition
Property Status(lBuildID As Long) As Enum
Parameters
lBuildID
[in] A Long that contains the build identifier used to select a specific build thread.
Error Values
This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
The following table defines the possible values for the ePredBuildStatus enumerated build states.
Name | Value | Description |
PredBldRunning | 0 | Is currently running. |
PredBldPaused | 1 | Is paused. |
PredBldShuttingDown | 2 | Is shutting down in response to the Stop method. |
BuildIDs become invalid when a build is finished, either successfully or due to failure. For status information on finished builds, view the event log.
Initiate the build thread using the Start method before you access the thread using the Status property.
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.