Compartilhar via


ODBCConnection.EnableRefresh Property

True if the connection can be refreshed by the user. The default value is True. Read/write Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property EnableRefresh As Boolean
    Get
    Set
'Usage
Dim instance As ODBCConnection
Dim value As Boolean

value = instance.EnableRefresh

instance.EnableRefresh = value
bool EnableRefresh { get; set; }

Property Value

Type: System.Boolean
Boolean

Remarks

The RefreshOnFileOpen property is ignored if the EnableRefresh property is set to False. For OLAP data sources, setting this property to False disables updates.

See Also

Reference

ODBCConnection Interface

ODBCConnection Members

Microsoft.Office.Interop.Excel Namespace