Export (0) Print
Expand All

ConnectionManager.ExecuteTSql Method

Executes a Transact-SQL command.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

protected Object ExecuteTSql(
	ConnectionManager..::.ExecuteTSqlAction action,
	Object execObject,
	DataSet fillDataSet,
	bool catchException
)

Parameters

action
Type: Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSqlAction
The ConnectionManager.ExecuteTSqlAction object.
execObject
Type: Object
The executable Object.
fillDataSet
Type: DataSet
The DataSet object.
catchException
Type: Boolean
A Boolean value that specifies whether to catch an exception.

Return Value

Type: Object
A Object that contains the results of the Transact-SQL command.

Community Additions

ADD
Show:
© 2014 Microsoft