SqlCommand.Transaction 属性 [C#]请参见
SqlCommand 类 | SqlCommand 成员 | System.Data.SqlClient 命名空间 | SqlCommand 成员(Visual J# 语法) | C++ 托管扩展编程
要求
平台: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 系列, .NET Framework 精简版 - Windows CE .NET
语言
C#
C++
JScript
Visual Basic
全部显示
获取或设置将在其中执行 SqlCommand 的 SqlTransaction。
[Visual Basic]
Public Property Transaction As SqlTransaction
[C#]
public SqlTransaction Transaction {get; set;}