共用方式為


DataTransaction.BeginTransaction Method

Definition

Initiates a transaction and returns the new current transaction level.

public:
 virtual int BeginTransaction();
public virtual int BeginTransaction ();
abstract member BeginTransaction : unit -> int
override this.BeginTransaction : unit -> int
Public Overridable Function BeginTransaction () As Integer

Returns

Returns an integer value indicating the new current transaction level.

Applies to