ExecuteTSql メソッド
Transact-SQL コマンドを実行します。
名前空間: Microsoft.SqlServer.Management.Common
アセンブリ: Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)
構文
'宣言
Protected Function ExecuteTSql ( _
action As ConnectionManager..::..ExecuteTSqlAction, _
execObject As Object, _
fillDataSet As DataSet, _
catchException As Boolean _
) As Object
'使用
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
パラメーター
- action
型: Microsoft.SqlServer.Management.Common. . :: . .ConnectionManager. . :: . .ExecuteTSqlAction
ConnectionManager..::..ExecuteTSqlAction オブジェクトです。
- execObject
型: System. . :: . .Object
実行可能ファイル Object。
- fillDataSet
型: System.Data. . :: . .DataSet
DataSet オブジェクトです。
- catchException
型: System. . :: . .Boolean
例外を受け取るかどうかを指定するブール値。
戻り値
型: System. . :: . .Object
Transact-SQL コマンドの結果を含む Object。