SqlCeChangeTracking.GetLastCommittedCsn Method

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Returns the Commit Sequence Number (CSN) of the last transaction committed for the data source associated with the SqlCeChangeTracking object.

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

Syntax

'Declaration
Public Function GetLastCommittedCsn As Long
'Usage
Dim instance As SqlCeChangeTracking
Dim returnValue As Long

returnValue = instance.GetLastCommittedCsn()
public long GetLastCommittedCsn()
public:
long long GetLastCommittedCsn()
member GetLastCommittedCsn : unit -> int64 
public function GetLastCommittedCsn() : long

Return Value

Type: System.Int64
The CSN for the data source.

See Also

Reference

SqlCeChangeTracking Class

System.Data.SqlServerCe Namespace