adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler Class / GetSnapshotChanges Method
The OID of the object to produce the report for.
The RecordID of the ObjectChangeLog record that represents the snapshot.
Returns any error messages reported by the comparison.
On return, contains the ObjectChangeLog representing the newer state of the object, if a newer snapshot was found. See Remarks.


In This Topic
    GetSnapshotChanges Method
    In This Topic
    Determines the changes made to an object as part of a change that produced a snapshot.
    Syntax

    Parameters

    objectToCompare
    The OID of the object to produce the report for.
    snapshotID
    The RecordID of the ObjectChangeLog record that represents the snapshot.
    messages
    Returns any error messages reported by the comparison.
    targetChangeLog
    On return, contains the ObjectChangeLog representing the newer state of the object, if a newer snapshot was found. See Remarks.

    Return Value

    A collection containing a single ArcanaDevelopment.adTempus.Shared.ObjectComparison.ObjectComparison object with the results of the comparison.
    Remarks

    This method locates the snapshot identified by the snapshotID. It then looks for the next (more recent) snapshot that contains the objectToCompare and compares the object between the two snapshots. The more recent snapshot is returned in the targetChangeLog.

    If no more recent snapshot is found for the object, the comparison is made to the current version of the object saved in the database, and the targetChangeLog is null on return.

    See Also