IsBad Property

The IsBad property returns whether a suspended model is corrupt or recoverable.

Syntax

SuspendedModel .IsBad

Applies To

SuspendedModel Object

Discussion

A suspended model is created when it is not closed properly, as in a system crash or power failure. Transformer retains as much information as it can as a SuspendedModel object in the SuspendedModels collection.

If the model is corrupt, use the Remove or Delete method to delete it from the collection. If it is recoverable, use the OpenModel method and set the FileName parameter to the return value of the QyPath property.

A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.

Type

Boolean

Access

Read

Examples

objSuspendedModel = objTransApp.SuspendedModels(intX)If objSuspendedModel.IsBad
= True Then