DatabaseLink`
DatabaseLink`

SQLConnectionPools

SQLConnectionPools[]

returns a list of the open connection pools.

SQLConnectionPools[conn]

returns the connection pool used for a connection.

更多信息和选项

范例

基本范例  (1)

Open connections from two pools to two data sources:

All connection pools:

The connection pool used to connect to the publisher data source:

The connection pool used to connect to the demo data source:

Close connection pools and associated connections: