Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

DataMinerManager Class

DataMinerManager Attributes

Attribute

Remarks

See also

Actions

Collection

Notes: Returns a pointer to the EA.DMAction objects.

DMAction Class

Connections

Collection

Notes: Returns a Collection of  EA.DMConnection objects.

DMConnection Class

DataMiners

Collection

Notes: Returns a Collection of EA.DataMiner objects

DataMiner Class

Scripts

Collection

Notes: Returns a Collection of  EA.DMScript objects.

DMScript Class

DataMinerManager Methods

Method

Remarks

See also

FindActiveDataMiner (string guid)

DataMiner Object

Loads the DataMiner object from the model specified by its GUID.

Returns an EA.DataMiner object or NULL if the current selected object isn't a DataMiner object.

Parameters:

  • GUID: string - GUID of the Data Miner object to look up
DataMiner Class

FindDataMinerScript (string guid)

DMScript object

Returns an EA.DMScript object in the model.

Parameters:

  • GUID: string - GUID of DMScript object.
DMScript Class

GetActiveAction ( )

DMAction Object

When you run an Action (operation), from a diagram, this returns the Action's EA.DMAction object.

NOTE: This is generally used for an Action to work out what DataMiner and DMConnections it is linked to.

DMAction Class

GetActiveDataMiner ( )

DataMiner Object

Returns a pointer to an EA.DataMiner object, or NULL if the currently selected object is not a DataMiner object.

DataMiner Class

GetActiveVisualizerData (string name)

DataSet Object

Get the EA.DataSet of the currently open Visualizer.

Parameters:

  • Name: string - Name of Open Visualizer

Note: Passing in a blank name will return the first Visualizer tab.

DataSet Class

GetCurrentDBBuilderData ( )

DMArray Object

Get the current data from the Database Builder's latest SQL query.  Returns the current output of the SQL scratch window. Accessible via:

     Ribbon: Develop > Data Modeling > Database Builder > SQL Scratch Pad.

Return Type: DMArray

Returns a pointer to an EA.DMArray object, or NULL if there is not a current Database Builder window with returned data.

See The Database Builder Help topic for more information on how to get data into this window.

DMArray Class The Database Builder