Property Getters/Setters Summary | ||
---|---|---|
method | getBackgroundRefresh() | |
method | 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. | ||
method | getConnectionDescription() | |
method | setConnectionDescription(value) | |
Specifies the user description for this connection | ||
method | getConnectionId() | |
Specifies The unique identifier of this connection.
|
||
method | getCredentials() | |
method | 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. | ||
method | getCredentialsMethodType() | |
method | 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. | ||
method | getId() | |
Gets the id of the connection.
|
||
method | isDeleted() | |
method | setDeleted(value) | |
Indicates whether the associated workbook connection has been deleted. true if the connection has been deleted; otherwise, false. | ||
method | isNew() | |
method | 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. | ||
method | getKeepAlive() | |
method | 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. | ||
method | getName() | |
method | setName(value) | |
Specifies the name of the connection. Each connection must have a unique name. | ||
method | getOdcFile() | |
method | 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. | ||
method | getOnlyUseConnectionFile() | |
method | 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 | ||
method | getParameters() | |
Gets |
||
method | getPowerQueryFormula() | |
Gets the definition of power query formula.
|
||
method | getReconnectionMethod() | |
method | 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. | ||
method | getReconnectionMethodType() | |
method | 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. | ||
method | getRefreshInternal() | |
method | setRefreshInternal(value) | |
Specifies the number of minutes between automatic refreshes of the connection. | ||
method | getRefreshOnLoad() | |
method | setRefreshOnLoad(value) | |
True if this connection should be refreshed when opening the file; otherwise, false. | ||
method | getSaveData() | |
method | setSaveData(value) | |
True if the external data fetched over the connection to populate a table is to be saved with the workbook; otherwise, false. | ||
method | getSavePassword() | |
method | setSavePassword(value) | |
True if the password is to be saved as part of the connection string; otherwise, False. | ||
method | getSourceFile() | |
method | 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. | ||
method | getSSOId() | |
method | setSSOId(value) | |
Identifier for Single Sign On (SSO) used for authentication between an intermediate spreadsheetML server and the external data source. | ||
method | getType() | |
Gets or Sets the external connection DataSource type.
|
int getId()
PowerQueryFormula getPowerQueryFormula()
ConnectionDataSourceType getType()
String getSourceFile() / setSourceFile(value)
String getSSOId() / setSSOId(value)
boolean getSavePassword() / setSavePassword(value)
boolean getSaveData() / setSaveData(value)
boolean getRefreshOnLoad() / setRefreshOnLoad(value)
int getReconnectionMethodType() / setReconnectionMethodType(value)
int getReconnectionMethod() / setReconnectionMethod(value)
boolean getOnlyUseConnectionFile() / setOnlyUseConnectionFile(value)
String getOdcFile() / setOdcFile(value)
boolean isNew() / setNew(value)
String getName() / setName(value)
boolean getKeepAlive() / setKeepAlive(value)
int getRefreshInternal() / setRefreshInternal(value)
int getConnectionId()
String getConnectionDescription() / setConnectionDescription(value)
boolean isDeleted() / setDeleted(value)
int getCredentialsMethodType() / setCredentialsMethodType(value)
int getCredentials() / setCredentials(value)
boolean getBackgroundRefresh() / setBackgroundRefresh(value)
ConnectionParameterCollection getParameters()