For replication-based synchronization applications, the package database class provides the following two methods for querying the synchronized state and the last synchronization time of a certain synchronization group:
/// Returns if the synchronizationGroup was synchronized public static bool IsSynchronized(string synchronizationGroup) /// Returns the last synchronization time of the synchronizationGroup public static System.DateTime GetLastSynchronizationTime(string synchronizationGroup)