DbCommand.Transaction DbCommand.Transaction DbCommand.Transaction DbCommand.Transaction Property

정의

DbCommand 개체를 실행할 DbTransaction을 가져오거나 설정합니다.Gets or sets the DbTransaction within which this DbCommand object executes.

public:
 property System::Data::Common::DbTransaction ^ Transaction { System::Data::Common::DbTransaction ^ get(); void set(System::Data::Common::DbTransaction ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Data.Common.DbTransaction Transaction { get; set; }
member this.Transaction : System.Data.Common.DbTransaction with get, set
Public Property Transaction As DbTransaction

속성 값

.NET Framework 데이터 공급자의 Command 개체가 실행되는 트랜잭션입니다.The transaction within which a Command object of a .NET Framework data provider executes. 기본값은 null 참조(Visual Basic의 경우 Nothing)입니다.The default value is a null reference (Nothing in Visual Basic).

적용 대상

추가 정보