public class DBConnection extends ExternalConnection
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommand()
The string containing the database command to pass to the data provider API that will
interact with the external source in order to retrieve data
|
int |
getCommandType()
Specifies the OLE DB command type.
|
java.lang.String |
getConnectionInfo()
The connection information string is used to make contact with an OLE DB or ODBC data source.
|
PowerQueryFormula |
getPowerQueryFormula()
Gets the definition of power query formula.
|
java.lang.String |
getSeverCommand()
Specifies a second command text string that is persisted when PivotTable server-based
page fields are in use.
|
void |
setCommand(java.lang.String value)
The string containing the database command to pass to the data provider API that will
interact with the external source in order to retrieve data
|
void |
setCommandType(int value)
Specifies the OLE DB command type.
|
void |
setConnectionInfo(java.lang.String value)
The connection information string is used to make contact with an OLE DB or ODBC data source.
|
void |
setSeverCommand(java.lang.String value)
Specifies a second command text string that is persisted when PivotTable server-based
page fields are in use.
|
getBackgroundRefresh, getConnectionDescription, getConnectionId, getCredentials, getCredentialsMethodType, getId, getKeepAlive, getName, getOdcFile, getOnlyUseConnectionFile, getParameters, getReconnectionMethod, getReconnectionMethodType, getRefreshInternal, getRefreshOnLoad, getSaveData, getSavePassword, getSourceFile, getSSOId, getType, isDeleted, isNew, setBackgroundRefresh, setConnectionDescription, setCredentials, setCredentialsMethodType, setDeleted, setKeepAlive, setName, setNew, setOdcFile, setOnlyUseConnectionFile, setReconnectionMethod, setReconnectionMethodType, setRefreshInternal, setRefreshOnLoad, setSaveData, setSavePassword, setSourceFile, setSSOId, setTypepublic java.lang.String getConnectionInfo()
public void setConnectionInfo(java.lang.String value)
public PowerQueryFormula getPowerQueryFormula()
getPowerQueryFormula in class ExternalConnectionpublic int getCommandType()
See OLEDBCommandType.
public void setCommandType(int value)
See OLEDBCommandType.
public java.lang.String getCommand()
public void setCommand(java.lang.String value)
public java.lang.String getSeverCommand()
public void setSeverCommand(java.lang.String value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2001-2023. All Rights Reserved.