PredModelBuilder.StopAllBuilds

Ee811688.c++_on(en-US,CS.10).gifEe811688.vb_off(en-US,CS.10).gif

Use this method to stop execution of all model build threads associated with the PredModelBuilder object.

Definition

Sub StopAllBuilds()

Parameters

None.

Return Values

None.

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 StopAllBuilds method sets a flag that signals each build thread to stop when it is ready. If the flag is set for a build thread, the data modeler for that thread ends thread execution and performs necessary clean-up operations.

Use the Status property to access the current status of a build thread. If a data modeler has not completed thread termination, the thread status for the modeler is PredBldShuttingDown. After the thread terminates, the build identifier no longer indicates a valid build thread. A stopped thread may not be resumed. The thread must be restarted with the Start method.

Use the Stop method to stop a specific build thread.

See Also

PredModelBuilder Object

PredModelBuilder.Start

PredModelBuilder.Status

PredModelBuilder.Stop


All rights reserved.