adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler Class / CompareObjectCurrentVersionToSnapshot Method
The OID of the object to generate the report for.
The RecordID of the ObjectChangeLog record that represents the snapshot.
Returns any error messages reported by the comparison.


In This Topic
    CompareObjectCurrentVersionToSnapshot Method
    In This Topic
    Compares the current version of the object to the version of the object contained in the specified snapshot.
    Syntax
    'Declaration
     
    
    <NotNullAttribute()>
    Public Function CompareObjectCurrentVersionToSnapshot( _
       ByVal objectOID As OID, _
       ByVal snapshotID As Guid, _
       ByRef messages As MessageCollection _
    ) As ReadOnlyCollection(Of ObjectComparison)
    [NotNull()]
    public ReadOnlyCollection<ObjectComparison> CompareObjectCurrentVersionToSnapshot( 
       OID objectOID,
       Guid snapshotID,
       out MessageCollection messages
    )
    [NotNull()]
    public:
    ReadOnlyCollection<ObjectComparison^>^ CompareObjectCurrentVersionToSnapshot( 
       OID^ objectOID,
       Guid snapshotID,
       [Out] MessageCollection^ messages
    ) 

    Parameters

    objectOID
    The OID of the object to generate the report for.
    snapshotID
    The RecordID of the ObjectChangeLog record that represents the snapshot.
    messages
    Returns any error messages reported by the comparison.

    Return Value

    A collection containing a single ArcanaDevelopment.adTempus.Shared.ObjectComparison object with the results of the comparison.
    Remarks
    This method compares based on the current state of the target object as saved in the database. Use CompareObjectToSnapshot to compare an unsaved object to a snapshot version.
    See Also