SqlTrackingWorkflowInstance.Refresh Method
이 문서의 내용
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the property data for this SqlTrackingWorkflowInstance.
public:
void Refresh();
public void Refresh();
member this.Refresh : unit -> unit
Public Sub Refresh ()
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-required basis. The SqlTrackingWorkflowInstance class maintains two timestamps for each property: one that indicates the time that tracking data for the collection was last loaded, and another that 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 is not loaded for the property when it is accessed. Refresh sets the timestamp that corresponds to the last refresh to DateTime.UtcNow.
Applies to
제품 | 버전 |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.