Cadcorp SIS API Methods

RollbackDatasetTransaction Method

Description

End a transaction by rolling-back (discarding) all changes made since the transaction began.

Syntax

Visual Basic
Public Function RollbackDatasetTransaction( _
   ByVal nDataset As Long _
) As Integer

Parameters

nDataset
The serial number of the dataset for which the transaction is to be rolled-back.

Remarks

This method closes the transaction, discarding all changes contained therein. If the underlying table has been locked, it will be released.

See also the BeginDatasetTransaction and CommitDatasetTransaction methods.

Available: GEO ME MD OD SISpy

Group:

Example

sis.RollbackDatasetTransaction (1)


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).