The package database class provides the following two methods for querying the synchronized state and the last synchronization time of a certain synchronization group:
/// Determines if the synchronization group was synchronized public static bool IsSynchronized(string synchronizationGroup) /// Retrieves the last synchronization time of the synchronization group public static System.DateTime GetLastSynchronizationTime(string synchronizationGroup)