AceQLConnection Members
The AceQLConnection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AceQLConnection()()()() |
Initializes a new instance of the AceQLConnection class.
|
|
AceQLConnection(String) |
Initializes a new instance of the AceQLConnection class when given a string that contains the connection string.
|
|
AceQLConnection(String, AceQLCredential) |
Initializes a new instance of the AceQLConnection class when given a string that contains the connection string
and an AceQLCredential object that contains the username and password.
|
Methods
Name | Description | |
---|---|---|
AddRequestHeader |
Adds A request header. The header will be added at each server call.
|
|
BeginTransactionAsync(CancellationToken) |
Initializes a AceQLTransactionobject. This will put the remote connection in auto commit mode off.
The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.
|
|
BeginTransactionAsync()()()() |
Initializes a AceQLTransactionobject. This will put the remote connection in auto commit mode off.
|
|
BeginTransactionAsync(IsolationLevel, CancellationToken) |
Initializes a new AceQLTransactionobject with the specified isolation level.
This will put the remote connection in auto commit mode off.
The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.
|
|
BeginTransactionAsync(IsolationLevel) |
Initializes a new AceQLTransactionobject with the specified isolation level.
This will put the remote connection in auto commit mode off.
|
|
CloseAsync |
Closes the connection to the remote database.
This is the preferred method of closing any open connection.
|
|
Dispose()()()() |
If connection has not been closed by an explicit call to AceQLConnectionCloseAsync:
calls silently AceQLConnectionCloseAsync without reporting any Exception.
As the call is not awaited, execution of the
current method continues before the call to is AceQLConnectionCloseAsync completed.
|
|
GetAceQLLocalFolder |
Gets the path to the local AceQL folder where SQL queries results are stored.
|
|
GetClientVersion |
Returns the AceQL Client SDK current Version.
|
|
GetDatabaseInfoAsync |
A shortcut to remote database metadata which returns remote database and
remote JDBC Driver main info.
|
|
GetDefaultWebProxy |
Gets the default web proxy set. Returns null if none was previously set by SetDefaultWebProxy(IWebProxy).
|
|
GetLimitsInfoAsync |
Gives info of limits defined on server side.
|
|
GetProgressIndicator |
Returns the progress indicator variable that will store Blob/Clob upload progress between 0 and 100.
|
|
GetRemoteDatabaseMetaData |
Creates a RemoteDatabaseMetaData in order to query remote database metadata info.
|
|
GetServerVersionAsync(CancellationToken) |
Returns the remote AceQL HTTP Server Version.
The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.
|
|
GetServerVersionAsync()()()() |
Returns the remote AceQL HTTP Server Version.
|
|
LogoutAsync |
Closes the session to the remote AceQL server and Close on server all the connections to the database.
This is the preferred method of closing any open connection.
|
|
OpenAsync()()()() |
Opens a connection with the remote database.
|
|
OpenAsync(CancellationToken) |
Opens a connection with the remote database.
The cancellation token can be used to can be used to request that the operation be abandoned before the http request timeout.
|
|
ResetRequestHeaders |
Resets the request headers. The previously added headers with AddRequestHeader(String, String) will be suppressed.
|
|
SetDefaultWebProxy |
Sets the default web proxy to use. Allows to force to use on some environments (Windows, ...) System.Net.WebRequest.GetSystemProxy() instead of [System.Net.WebRequest.DefaultWebProxy].
|
|
SetProgressIndicator |
Sets the progress indicator variable that will store Blob/Clob upload progress between 0 and 100.
|
Properties
Name | Description | |
---|---|---|
ConnectionInfo |
Gets the connection information.
|
|
Credential |
Gets or sets the AceQLCredential object for this connection.
|
|
RequestRetry |
Gets or sets a value indicating whether a failed request will be retried. The retry will be done once, without compression. Defaults to true.
|