ExecuteTSql Método
Executes a Transact-SQL command.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
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
The ConnectionManager..::..ExecuteTSqlAction object.
- execObject
Tipo: System. . :: . .Object
The executable Object.
- fillDataSet
Tipo: System.Data. . :: . .DataSet
The DataSet object.
- catchException
Tipo: System. . :: . .Boolean
A Boolean value that specifies whether to catch an exception.
Valor devuelto
Tipo: System. . :: . .Object
A Object that contains the results of the Transact-SQL command.
Vea también