Version

RootActivityTimestamp Property

Timestamp on the root recurring Activity, if it was updated by a stored procedure.
Syntax
'Declaration
 
Public Property RootActivityTimestamp As Object
public object RootActivityTimestamp {get; set;}

Property Value

Variant object filled in by the data source's timestamp data. When this value is null (Nothing in Visual Basic .NET) the timestamp data is assumed to be unchanged.
Remarks

The data provider populates the root Activity timestamp property when a stored procedure has updated it's timestamp of the root Activity in the data source. Code calling Update with a RemoveVarianceContext should check whether this value is not null (Nothing in Visual Basic .NET). When a timestamp is updated by the data provider, it must be saved on the root Activity in order to avoid a subsequent concurrency conflict if that root Activity is later modified during this session.

When the RootActivityTimestamp is unset by the data provider, the calling code does not need to do anything.

The stored procedure used for removing all variances (when the IsDeleteAll flag is True) clears the variance key from the root Activity row. The in-memory root Activity object also has it's variance key cleared, which synchronizes both copies of the root Activity, except for the timestamp in the data source. This property permits a data provider to communicate an updated timestamp back to the calling code.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also