ConnectionManager.ExecuteTSql-Methode
Führt einen Transact-SQL-Befehl aus.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Protected Function ExecuteTSql ( _
action As ConnectionManager.ExecuteTSqlAction, _
execObject As Object, _
fillDataSet As DataSet, _
catchException As Boolean _
) As Object
'Usage
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
Parameter
- action
Typ: Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSqlAction
Das ConnectionManager.ExecuteTSqlAction-Objekt.
- execObject
Typ: Object
Das ausführbare Object.
- fillDataSet
Typ: DataSet
Das DataSet-Objekt.
- catchException
Typ: Boolean
Ein boolescher Wert, der angibt, ob Ausnahmen abgefangen werden sollen.
Rückgabewert
Typ: Object
Ein Object, dass die Ergebnisse des Transact-SQL-Befehls enthält.