ConnectionManager.ExecuteTSql Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes T-SQL using the appropriate methods depending on the action information passed as the parameter.
protected object ExecuteTSql (Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSqlAction action, object execObject, System.Data.DataSet fillDataSet, bool catchException);
member this.ExecuteTSql : Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSqlAction * obj * System.Data.DataSet * bool -> obj
Protected Function ExecuteTSql (action As ConnectionManager.ExecuteTSqlAction, execObject As Object, fillDataSet As DataSet, catchException As Boolean) As Object
Parameters
Defines method to be used for executing T-SQL
- execObject
- Object
Object on which that method needs to be called
- fillDataSet
- DataSet
DataSet in which data need to filled in case of SqlDataAdapter execObject
- catchException
- Boolean
If the exception to be caught.