Edit

Share via


OLEDBConnection.RefreshOnFileOpen Property

Definition

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.

Applies to