PredModelBuilder.Pause

Ee825867.c++_on(en-US,CS.10).gifEe825867.vb_off(en-US,CS.10).gif

Use this method to suspend the model build thread.

Definition

Sub Pause(lBuildID As Long)

Parameters

lBuildID

[in] A Long that contains the build thread identifier.

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 build thread identifier is returned by the Start method when a model build is initiated.

Use the Resume method to resume the paused build thread.

Use the Stop method to stop the execution of the build thread. A stopped thread may not be resumed. The thread must be restarted with the Start method.

Use the Status property to check the current status of a model build.

See Also

PredModelBuilder Object

PredModelBuilder.Start

PredModelBuilder.Resume

PredModelBuilder.Stop

PredModelBuilder.Status

PredModelBuilder.Priority


All rights reserved.