Skip to content

Enum eReconnectionMethod

Namespace: OfficeOpenXml.Data.Connection
Assembly: EPPlus.dll

How a connection object should reconnect.

public enum eReconnectionMethod

Fields

AsRequired = 1

On refresh use the existing connection information. If the existing information cannot be used to establish a connection, get updated connection information, if available from the external connection file.

Always = 2

On every refresh get updated connection information from the external connection file, if available, and use that instead of the existing connection information. In this case the data refresh will fail if the external connection file is unavailable.

Never = 3

Never get updated connection information from the external connection file even if it is available and even if the existing connection information cannot be used. The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype.