It can be browsed/saved through DSS Object Server. It describes the properties of an ODBC connection. DBConnection is different from a connection instance. DSSDBConnection is the definition of a database connection, from which one can create multiple instances of database connections.
Public Member Functions | |
| HRESULT | CacheOption ([in] EnumDSSDBConnectionCache CacheOption) |
| Whether physical connections are cached. | |
| HRESULT | CacheOption ([out, retval] EnumDSSDBConnectionCache *pCacheOption) |
| Whether physical connections are cached. | |
| HRESULT | CacheSize ([in] Int32 CacheSize) |
| Maximum number of cached physical connections. | |
| HRESULT | CacheSize ([out, retval] Int32 *pCacheSize) |
| Maximum number of cached physical connections. | |
| HRESULT | CacheTimeOut ([in] Int32 CacheTimeOut) |
| How long before idle connections are removed from cache. | |
| HRESULT | CacheTimeOut ([out, retval] Int32 *pCacheTimeOut) |
| How long before idle connections are removed from cache. | |
| HRESULT | ConnectionString ([in] BSTR ConnectionString) |
| String used to define the connection. | |
| HRESULT | ConnectionString ([out, retval] BSTR *pConnectionString) |
| String used to define the connection. | |
| HRESULT | ConnectionTimeOut ([in] Int32 ConnectionTimeOut) |
| How long before requests on connection are timed out. | |
| HRESULT | ConnectionTimeOut ([out, retval] Int32 *pConnectionTimeOut) |
| How long before requests on connection are timed out. | |
| HRESULT | DatabaseName ([in] BSTR DatabaseName) |
| Not used. | |
| HRESULT | DatabaseName ([out, retval] BSTR *pDatabaseName) |
| Not used. | |
| HRESULT | DatabaseType ([in] EnumDSSDatabaseType DatabaseType) |
| Not used. | |
| HRESULT | DatabaseType ([out, retval] EnumDSSDatabaseType *pDatabaseType) |
| Not used. | |
| HRESULT | DatabaseVersion ([in] EnumDSSDatabaseVersion DatabaseVersion) |
| Not used. | |
| HRESULT | DatabaseVersion ([out, retval] EnumDSSDatabaseVersion *pDatabaseVersion) |
| Not used. | |
| HRESULT | DBCPrefixString ([in] BSTR ConnectionString) |
| Not used. | |
| HRESULT | DBCPrefixString ([out, retval] BSTR *pConnectionString) |
| Not used. | |
| HRESULT | DefaultDBLogin ([in] IDSSDBLogin *pDefaultDBLogin) |
| Default user name and password for connection. | |
| HRESULT | DefaultDBLogin ([out, retval] IDSSDBLogin ppDefaultDBLogin) |
| Default user name and password for connection. | |
| HRESULT | DefaultMaxDBConnection ([in] Int32 DefaultMaxDBConnection) |
| DefaultMaxDBConnection is a numeric property. | |
| HRESULT | DefaultMaxDBConnection ([out, retval] Int32 *pDefaultMaxDBConnection) |
| DefaultMaxDBConnection is a numeric property. | |
| HRESULT | DefaultMaxDBCost ([in] Int32 DefaultMaxDBCost) |
| DefaultMaxDBCost is a numeric property. | |
| HRESULT | DefaultMaxDBCost ([out, retval] Int32 *pDefaultMaxDBCost) |
| DefaultMaxDBCost is a numeric property. | |
| HRESULT | DriverType ([in] EnumDSSDBConnectionDriver DriverType) |
| Whether ODBC driver or native driver. | |
| HRESULT | DriverType ([out, retval] EnumDSSDBConnectionDriver *pDriverType) |
| Whether ODBC driver or native driver DriverType is an enumeration property. | |
| HRESULT | ExecutionMode ([in] EnumDSSDBConnectionExecutionMode ExecutionMode) |
| Whether synchronous or asynchronous. | |
| HRESULT | ExecutionMode ([out, retval] EnumDSSDBConnectionExecutionMode *pExecutionMode) |
| Whether synchronous or asynchronous. | |
| HRESULT | Info ([out, retval] IDSSObjectInfo ppInfo) |
| Usual information about a DSS Object. | |
| HRESULT | LoadDSNDefinition ([in] BSTR DSN) |
| Assign ConnectionString from a DSN using local registry. | |
| HRESULT | MultiProcessOption ([in] EnumDSSDBConnectionMultiProcessOption MultiProcessOption) |
| Whether connection is in same process or separate process. | |
| HRESULT | MultiProcessOption ([out, retval] EnumDSSDBConnectionMultiProcessOption *pMultiProcessOption) |
| Whether connection is in same process or separate process. | |
| HRESULT | Populate ([in] IDSSDBConnection *pOriginal) |
| Populate properties of connection from an existing one. | |
| HRESULT | TablePrefixString ([in] BSTR ConnectionString) |
| Prefix added to temporary tables made on this connection. | |
| HRESULT | TablePrefixString ([out, retval] BSTR *pConnectionString) |
| Prefix added to temporary tables made on this connection. | |
| HRESULT | TableSpaceName ([in] BSTR TableSpaceName) |
| Not used. | |
| HRESULT | TableSpaceName ([out, retval] BSTR *pTableSpaceName) |
| Not used. | |
| HRESULT | TraceFlag ([in] VARIANT_BOOL TraceFlag) |
| Whether requests on this connection should be traced. | |
| HRESULT | TraceFlag ([out, retval] VARIANT_BOOL *pTraceFlag) |
| Whether requests on this connection should be traced. | |
| HRESULT | UseExtendedFetch ([in] VARIANT_BOOL UseExtendedFetch) |
| Whether ODBS's extended fetch should be used. | |
| HRESULT | UseExtendedFetch ([out, retval] VARIANT_BOOL *pUseExtendedFetch) |
| Whether ODBS's extended fetch should be used. | |
|
|
Whether physical connections are cached. CacheOption is an enumeration property. It specifies the degree to which the intelligence server will attempt to reuse physical connections made using the specification contained in this DBConnection object.
|
|
|
Whether physical connections are cached. CacheOption is an enumeration property. It specifies the degree to which the intelligence server will attempt to reuse physical connections made using the specification contained in this DBConnection object.
|
|
|
Maximum number of cached physical connections. CacheSize is a numeric property. It contains the maximum number of physical connections made using the specifications in this object that may be opened simultaneously. Thus it is the maximum size of the connection pool.
|
|
|
Maximum number of cached physical connections. CacheSize is a numeric property. It contains the maximum number of physical connections made using the specifications in this object that may be opened simultaneously. Thus it is the maximum size of the connection pool.
|
|
|
How long before idle connections are removed from cache. CacheTimeOut is a numeric property. When use connection pooling, the connection is not disconnected when it is released. Instead, it is kept open until it idles for ConnectionCacheTimeOut seconds. If a connection is open and released frequently, connection pooling reduces the cost associated with creating a new connection.
|
|
|
How long before idle connections are removed from cache. CacheTimeOut is a numeric property. When use connection pooling, the connection is not disconnected when it is released. Instead, it is kept open until it idles for ConnectionCacheTimeOut seconds. If a connection is open and released frequently, connection pooling reduces the cost associated with creating a new connection.
|
|
|
String used to define the connection. ConnectionString is a text property. Its value is the whole ODBC connection definition string. In order to create a database one connection one needs to know only the value of this string and a user name and password.
|
|
|
String used to define the connection. ConnectionString is a text property. Its value is the whole ODBC connection definition string. In order to create a database one connection one needs to know only the value of this string and a user name and password.
|
|
|
How long before requests on connection are timed out. ConnectionTimeOut is a numeric property. It specifies the time in seconds to wait for a connection request comes back.
|
|
|
How long before requests on connection are timed out. ConnectionTimeOut is a numeric property. It specifies the time in seconds to wait for a connection request comes back.
|
|
|
Not used. DatabaseName is a text property. This property is not used. It should be left as the empty string.
|
|
|
Not used. DatabaseName is a text property. This property is not used. It should be left as the empty string.
|
|
|
Not used. DatabaseType is an enumeration property. It represents the type (typically the vendor) of the database used by this connection. Currently however this property is not used.
|
|
|
Not used. DatabaseType is an enumeration property. It represents the type (typically the vendor) of the database used by this connection. Currently however this property is not used.
|
|
|
Not used. DatabaseVersion is an enumeration property. It is intended to provide a fine distinction between different versions of relational databases. Currently however the property is not used.
|
|
|
Not used. DatabaseVersion is an enumeration property. It is intended to provide a fine distinction between different versions of relational databases. Currently however the property is not used.
|
|
|
Not used. DBCPrefixString is a text property. This property is not used. It should be left as the empty string.
|
|
|
Not used. DBCPrefixString is a text property. This property is not used. It should be left as the empty string.
|
|
|
Default user name and password for connection. DefaultDBLogin is an object-valued property. A DBLogin object is the metadata object that holds a user name and password. So this property holds the DBLogin object that will be used to make this connection in the absence of some other DBLogin object.
|
|
|
Default user name and password for connection. DefaultDBLogin is an object-valued property. A DBLogin object is the metadata object that holds a user name and password. So this property holds the DBLogin object that will be used to make this connection in the absence of some other DBLogin object.
|
|
|
DefaultMaxDBConnection is a numeric property.
|
|
|
DefaultMaxDBConnection is a numeric property.
|
|
|
DefaultMaxDBCost is a numeric property.
|
|
|
DefaultMaxDBCost is a numeric property.
|
|
|
Whether ODBC driver or native driver. DriverType is an enumeration property. It specifies the connection driver type. It specifies whether the connection is made using ODBC or some native database driver.
|
|
|
Whether ODBC driver or native driver DriverType is an enumeration property. It specifies the connection driver type. It specifies whether the connection is made using ODBC or some native database driver.
|
|
|
Whether synchronous or asynchronous. ExecutionMode is an enumeration property. It specifies the manner in SQL statements will be executed on a physical connection made using this object. In particular it indicates if the statement is executed synchronously or asynchronously.
|
|
|
Whether synchronous or asynchronous. ExecutionMode is an enumeration property. It specifies the manner in SQL statements will be executed on a physical connection made using this object. In particular it indicates if the statement is executed synchronously or asynchronously.
|
|
|
Usual information about a DSS Object. This property returns the IDSSObjectInfo interface associated with the current object. This interface contains many standard properties and methods. For example it contains a Name property and a Comments property. It contains methods to Save the object and so on.
|
|
|
Assign ConnectionString from a DSN using local registry. LoadDSNDefinition is a method. This methods sets the ConnectionString property of the DBConnection object to the whole ODBC connection definition string needed to access a given DSN. In order to do this, this method needs to access the registry on the local machine to look up the DSN name.
|
|
|
Whether connection is in same process or separate process. MultiProcessOption is an enumeration valued constant. It specifies if the connection is created in the same process as the caller or in a different process.
|
|
|
Whether connection is in same process or separate process. MultiProcessOption is an enumeration valued constant. It specifies if the connection is created in the same process as the caller or in a different process.
|
|
|
Populate properties of connection from an existing one. Populate is a method. It assigns all of the properties of this DBConnection object to whatever values they have in a given DBConnection object. It is used to implement copying of DBConnection objects.
|
|
|
Prefix added to temporary tables made on this connection. TablePrefixString is a text property. The QueryEngine prefixed the names of all temporary tables that it creates during report execution with this string.
|
|
|
Prefix added to temporary tables made on this connection. TablePrefixString is a text property. The QueryEngine prefixed the names of all temporary tables that it creates during report execution with this string.
|
|
|
Not used. TableSpaceName is a text property. This property is not used. It should be left as the empty string.
|
|
|
Not used. TableSpaceName is a text property. This property is not used. It should be left as the empty string.
|
|
|
Whether requests on this connection should be traced. TraceFlag is a Boolean property. It specifies whether or not to turn on tracing when making calls on this connection.
|
|
|
Whether requests on this connection should be traced. TraceFlag is a Boolean property. It specifies whether or not to turn on tracing when making calls on this connection.
|
|
|
Whether ODBS's extended fetch should be used. UseExtendedFetch is a Boolean property. It specifies whether or not to use the extended fetch ODBC call to retrieve data from the connection.
|
|
|
Whether ODBS's extended fetch should be used. UseExtendedFetch is a Boolean property. It specifies whether or not to use the extended fetch ODBC call to retrieve data from the connection.
|