ExecuteQuery

Metreos.Native.Database.ExecuteQuery

Summary

ExecuteQuery retrieves a System.Data.DataTable corresponding to the result set of the specified query.

Usage

The result set of the specified query is parsed and placed into a System.Data.DataTable. The DataTable has the same number of rows as the result set, and has columns matching the the specified columns of the query.

ExecuteQuery requires that a named database connection already be open, which can done either by using OpenDatabase or by using the name of a database resource associated with the Cisco Unified Application Designer application.

Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
Query *System.StringA SQL SELECT statement.
Name *System.StringThe name of the database connection to query.
Result Data
Parameter Name.NET TypeDescription
ResultSetSystem.Data.DataTableThe resulting data of the query.

Branch Conditions 

Success

No description.

Failure

No description.