共用方式為


RollBackTransaction 方法

Rolls back the current transaction.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Sub RollBackTransaction
'用途
Dim instance As ServerConnection

instance.RollBackTransaction()
public void RollBackTransaction()
public:
void RollBackTransaction()
member RollBackTransaction : unit -> unit 
public function RollBackTransaction()

範例

呼叫方法