CurrentTransactionBsn 屬性
取得交易的開始序號 (BSN)。
命名空間: System.Data.SqlServerCe
組件: System.Data.SqlServerCe (在 System.Data.SqlServerCe.dll 中)
語法
'宣告
Public ReadOnly Property CurrentTransactionBsn As Long
Get
'用途
Dim instance As SqlCeTransaction
Dim value As Long
value = instance.CurrentTransactionBsn
public long CurrentTransactionBsn { get; }
public:
property long long CurrentTransactionBsn {
long long get ();
}
member CurrentTransactionBsn : int64
function get CurrentTransactionBsn () : long
屬性值
型別:System. . :: . .Int64
交易的 BSN。
備註
BSN 是一個單純遞增的計數器,由 SQL Server Compact 3.5 指派給交易。它可唯一識別交易的開始順序。