Skip to main content

Methods

Methods

Use the following methods to manage the database connection:

Connect()
Method Connect(pTimeout As %Numeric = 30) As %Status

Connects to the data source given by the current value of the DSN property.

Disconnect()
Method Disconnect() As %Status

Disconnects from the data source.

TestConnection()
Method TestConnection()

Tests the connection to the data source.

The adapter classes also provide several setter methods that you can use to set the properties listed in the preceding section.

FeedbackOpens in a new tab