CanConstruct Method

Checks a data source reference for valid syntax.

Syntax

object.CanConstruct bstrObjectName, bCanConstruct

Properties

The CanConstruct method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

bstrObjectName

String. The fully qualified data source reference. For example, Fix32.SCADA1.AI1

bCanConstruct

Boolean. Returns True if data source reference is valid, False otherwise.

Remarks

This method will always return False for datasystems external to the Fix32 datasystem.

The bCanConstruct parameter is returned indicating if the bstrObjectName reference can be constructed (QuickAdd). If True, you can safely call Construct to display the appropriate user interface to add the reference in the associated data system.

Currently, you need the FIX 6.15 Integration toolkit to create blocks directly without the Database Manager dialog boxes.

 

Example

Applies To