Método ConnectionManager.ExecuteTSql
Executa um comando Transact-SQL.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Protected Function ExecuteTSql ( _
action As ConnectionManager.ExecuteTSqlAction, _
execObject As Object, _
fillDataSet As DataSet, _
catchException As Boolean _
) As Object
'Uso
Dim action As ConnectionManager.ExecuteTSqlAction
Dim execObject As Object
Dim fillDataSet As DataSet
Dim catchException As Boolean
Dim returnValue As Object
returnValue = Me.ExecuteTSql(action, _
execObject, fillDataSet, catchException)
protected Object ExecuteTSql(
ConnectionManager.ExecuteTSqlAction action,
Object execObject,
DataSet fillDataSet,
bool catchException
)
protected:
Object^ ExecuteTSql(
ConnectionManager.ExecuteTSqlAction action,
Object^ execObject,
DataSet^ fillDataSet,
bool catchException
)
member ExecuteTSql :
action:ConnectionManager.ExecuteTSqlAction *
execObject:Object *
fillDataSet:DataSet *
catchException:bool -> Object
protected function ExecuteTSql(
action : ConnectionManager.ExecuteTSqlAction,
execObject : Object,
fillDataSet : DataSet,
catchException : boolean
) : Object
Parâmetros
- action
Tipo: Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSqlAction
O objeto ConnectionManager.ExecuteTSqlAction.
- execObject
Tipo: Object
O Object executável.
- fillDataSet
Tipo: DataSet
O objeto DataSet.
- catchException
Tipo: Boolean
Um valor booliano que especifica se uma exceção deve ser capturada.
Valor de retorno
Tipo: Object
Um Object que contém os resultados do comando Transact-SQL.