OLEDBConnection.RefreshOnFileOpen Property
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.
True if the connection is automatically updated each time the workbook is opened. The default value is False. Read/write Boolean.
public:
property bool RefreshOnFileOpen { bool get(); void set(bool value); };
public bool RefreshOnFileOpen { get; set; }
Public Property RefreshOnFileOpen As Boolean
Property Value
Boolean
Remarks
The connections are not automatically refreshed when you open the workbook by using the Open(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method in Visual Basic. Use the Refresh() method to refresh the data after the workbook is open.