DataRecordset.RefreshInterval Property

Visio Automation Reference

Gets or sets how often Microsoft Office Visio automatically refreshes the data recordset. Read/write.

ms367407.vs_note(en-us,office.12).gif  Note
This Visio object or member is available only to licensed users of Microsoft Office Visio Professional 2007.

Version Information
 Version Added:  Visio 2007

Syntax

expression.RefreshInterval

expression   An expression that returns a DataRecordset object.

Return Value
Long

Remarks

When you create a DataRecordset object, its RefreshInterval property is set to the default, 0. This setting indicates that data is not refreshed automatically.

By setting RefreshInterval to a positive Long value, you can specify the time in minutes between automatic refreshes. The minimum interval you can specify is one minute.

This setting corresponds to the value a user can set in the Configure Refresh dialog box.

See Also