Skip to main content
.NET Framework 4.6.2+

Session.ExecuteQuery Method

Name Parameters Description
ExecuteQuery(String, QueryParameterCollection) sql, parameters Executes the specified SQL query and returns a result set.
ExecuteQuery(String, Object[]) sql, parameterValues Executes the specified SQL query and returns a result set.
ExecuteQuery(String, String[], QueryParameterCollection) sql, parameterNames, parameters Executes the specified SQL query and returns a result set.
ExecuteQuery(String, String[], Object[]) sql, parameterNames, parameterValues Executes the specified SQL query and returns a result set.
ExecuteQuery(String) sql Executes the specified SQL query and returns a result set.