Synergex.SynergyDE.Select.SnapshotInfo

Structure containing snapshot information

WSupported on Windows
USupported on Unix

 

NSupported in Synergy .NET
namespace Synergex.SynergyDE.Select
public sealed structure SnapshotInfo

The SnapshotInfo structure provides information about the snapshot for change tracking.

Fields

Type

The enumeration of the SSType enumeration (see below). (SSType)

Number

The snapshot number. (int)

Inserts

The number of new records inserted into the file since the last snapshot. (int)

Updates

The number of records updated in the file since the last snapshot. (int)

Deletes

The number of records deleted in the file since the last snapshot. (int)

Ulinks

The number of updated records not in the previous snapshot. (int)

DateTime

Either the date and time of the snapshot in %DATETIME format or, when Type is SSType.Ending, the date and time of the query. (a20)

Discussion

When Type is SSType.Beginning, DateTime represents the date and time that ChangeTracking entries begin in the file. The Inserts, Updates, Deletes, and Ulinks values are always zero. There can only be one Beginning per set of snapshots.

When Type is SSType.Snapshot, DateTime represents the date and time the snapshot was applied to the file, and Inserts, Updates, Deletes, and Ulinks indicate the number of entries applied between the previous snapshot and DateTime.

When Type is SSType.Ending, DateTime represents the date and time of the inquiry, and Inserts, Updates, Deletes, and Ulinks indicate the number of entries made between the previous snapshot and the current time. There can only be one Ending per set of snapshots.

See also