SqlCeTransaction.CurrentTransactionBsn Property

Visual Studio 2010

Gets the begin sequence number (BSN) for the transaction.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public long CurrentTransactionBsn { get; }

Property Value

Type: System.Int64
The BSN for the transaction.

The BSN is a monotonically increasing counter assigned to the transaction by SQL Server Compact. It uniquely identifies the transaction's begin sequence.