Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)
Refresh does not actually load any data for the SqlTrackingWorkflowInstance. To optimize database performance, the SqlTrackingWorkflowInstance class loads data for its collection properties on an as needed basis. The SqlTrackingWorkflowInstance class maintains two timestamps for each property: one which indicates the time that tracking data for the collection was last loaded, and another which indicates the last time the SqlTrackingWorkflowInstance was refreshed. When you get one of the collection properties, the SqlTrackingWorkflowInstance loads any tracking data that was added to the database between the last time tracking data for the collection was loaded and the last time the SqlTrackingWorkflowInstance was refreshed and adds this data to the collection maintained by the property. The timestamp that indicates the last time data was loaded for the property is then set to the value of the timestamp that indicates the last refresh. If these two timestamps are equal, additional tracking data will not be loaded for the property when it is accessed. Refresh sets the timestamp that corresponds to the last refresh to utcNow.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.