Επεξεργασία

Κοινή χρήση μέσω


SqlTrackingService.ProfileChangeCheckInterval Property

Definition

Gets or sets a value that specifies the interval at which the database should be checked for changes to one or more of its tracking profiles.

public:
 property double ProfileChangeCheckInterval { double get(); void set(double value); };
public double ProfileChangeCheckInterval { get; set; }
member this.ProfileChangeCheckInterval : double with get, set
Public Property ProfileChangeCheckInterval As Double

Property Value

The interval length in milliseconds. The default is 60000.

Remarks

The SqlTrackingService periodically examines the database to determine whether one or more of its tracking profiles have been changed or have been deleted. When the SqlTrackingService determines that a TrackingProfile has been deleted it raises an ProfileRemoved event; when it determines that a profile has been changed it raises a ProfileUpdated event. The runtime tracking infrastructure subscribes to both of these events and updates its tracking profile cache appropriately when they occur. You can also subscribe to either or both of these events if you want to be notified of changes to a tracking profile. You can set ProfileChangeCheckInterval to specify the frequency with which the SqlTrackingService should test for such changes. When you specify a new value for ProfileChangeCheckInterval, the timer interval is immediately set to this new value.

Applies to