Property Getters/Setters Summary | ||
---|---|---|
function | getBackgroundRefresh() | |
function | setBackgroundRefresh(value) | |
Indicates whether the connection can be refreshed in the background (asynchronously). true if preferred usage of the connection is to refresh asynchronously in the background; false if preferred usage of the connection is to refresh synchronously in the foreground. | ||
function | getConnectionDescription() | |
function | setConnectionDescription(value) | |
Specifies the user description for this connection | ||
function | getConnectionId() | |
Specifies The unique identifier of this connection.
|
||
function | getCredentials() | |
function | setCredentials(value) | |
Specifies the authentication method to be used when establishing (or re-establishing) the connection. The value of the property is CredentialsMethodType integer constant. | ||
function | getCredentialsMethodType() | |
function | setCredentialsMethodType(value) | |
Specifies the authentication method to be used when establishing (or re-establishing) the connection. The value of the property is CredentialsMethodType integer constant. | ||
function | getId() | |
Gets the id of the connection.
|
||
function | isDeleted() | |
function | setDeleted(value) | |
Indicates whether the associated workbook connection has been deleted. true if the connection has been deleted; otherwise, false. | ||
function | isNew() | |
function | setNew(value) | |
True if the connection has not been refreshed for the first time; otherwise, false. This state can happen when the user saves the file before a query has finished returning. | ||
function | getKeepAlive() | |
function | setKeepAlive(value) | |
True when the spreadsheet application should make efforts to keep the connection open. When false, the application should close the connection after retrieving the information. | ||
function | getName() | |
function | setName(value) | |
Specifies the name of the connection. Each connection must have a unique name. | ||
function | getOdcFile() | |
function | setOdcFile(value) | |
Specifies the full path to external connection file from which this connection was created. If a connection fails during an attempt to refresh data, and reconnectionMethod=1, then the spreadsheet application will try again using information from the external connection file instead of the connection object embedded within the workbook. | ||
function | getOnlyUseConnectionFile() | |
function | setOnlyUseConnectionFile(value) | |
Indicates whether the spreadsheet application should always and only use the connection information in the external connection file indicated by the odcFile attribute when the connection is refreshed. If false, then the spreadsheet application should follow the procedure indicated by the reconnectionMethod attribute | ||
function | getParameters() | |
Gets |
||
function | getPowerQueryFormula() | |
Gets the definition of power query formula.
|
||
function | getReconnectionMethod() | |
function | setReconnectionMethod(value) | |
Specifies what the spreadsheet application should do when a connection fails. The default value is ReConnectionMethodType.Required. The value of the property is ReConnectionMethodType integer constant. | ||
function | getReconnectionMethodType() | |
function | setReconnectionMethodType(value) | |
Specifies what the spreadsheet application should do when a connection fails. The default value is ReConnectionMethodType.Required. The value of the property is ReConnectionMethodType integer constant. | ||
function | getRefreshInternal() | |
function | setRefreshInternal(value) | |
Specifies the number of minutes between automatic refreshes of the connection. | ||
function | getRefreshOnLoad() | |
function | setRefreshOnLoad(value) | |
True if this connection should be refreshed when opening the file; otherwise, false. | ||
function | getSaveData() | |
function | setSaveData(value) | |
True if the external data fetched over the connection to populate a table is to be saved with the workbook; otherwise, false. | ||
function | getSavePassword() | |
function | setSavePassword(value) | |
True if the password is to be saved as part of the connection string; otherwise, False. | ||
function | getSourceFile() | |
function | setSourceFile(value) | |
Used when the external data source is file-based. When a connection to such a data source fails, the spreadsheet application attempts to connect directly to this file. May be expressed in URI or system-specific file path notation. | ||
function | getSSOId() | |
function | setSSOId(value) | |
Identifier for Single Sign On (SSO) used for authentication between an intermediate spreadsheetML server and the external data source. | ||
function | getType() | |
Gets or Sets the external connection DataSource type.
|
function getId()
function getPowerQueryFormula()
function getType()
function getSourceFile() / function setSourceFile(value)
function getSSOId() / function setSSOId(value)
function getSavePassword() / function setSavePassword(value)
function getSaveData() / function setSaveData(value)
function getRefreshOnLoad() / function setRefreshOnLoad(value)
function getReconnectionMethodType() / function setReconnectionMethodType(value)
function getReconnectionMethod() / function setReconnectionMethod(value)
function getOnlyUseConnectionFile() / function setOnlyUseConnectionFile(value)
function getOdcFile() / function setOdcFile(value)
function isNew() / function setNew(value)
function getName() / function setName(value)
function getKeepAlive() / function setKeepAlive(value)
function getRefreshInternal() / function setRefreshInternal(value)
function getConnectionId()
function getConnectionDescription() / function setConnectionDescription(value)
function isDeleted() / function setDeleted(value)
function getCredentialsMethodType() / function setCredentialsMethodType(value)
function getCredentials() / function setCredentials(value)
function getBackgroundRefresh() / function setBackgroundRefresh(value)
function getParameters()