ExecuteTSql 메서드
Executes a Transact-SQL command.
네임스페이스: 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
The ConnectionManager..::..ExecuteTSqlAction object.
- execObject
유형: System. . :: . .Object
The executable Object.
- fillDataSet
유형: System.Data. . :: . .DataSet
The DataSet object.
- catchException
유형: System. . :: . .Boolean
A Boolean value that specifies whether to catch an exception.
반환 값
유형: System. . :: . .Object
A Object that contains the results of the Transact-SQL command.