public class SqlConnection extends DbConnection implements ICloneable
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Data.SqlClient.SqlConnection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Data
|
static java.lang.String |
className
Qualified class name: System.Data.SqlClient.SqlConnection
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SqlConnection() |
SqlConnection(java.lang.Object instance)
Internal constructor.
|
SqlConnection(java.lang.String connectionString) |
SqlConnection(java.lang.String connectionString,
SqlCredential credential) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfoMessage(SqlInfoMessageEventHandler handler) |
SqlTransaction |
BeginTransaction(IsolationLevel iso,
java.lang.String transactionName) |
SqlTransaction |
BeginTransaction(java.lang.String transactionName) |
SqlTransaction |
BeginTransactionNewSqlConnection() |
SqlTransaction |
BeginTransactionNewSqlConnection(IsolationLevel iso) |
static SqlConnection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SqlConnection, a cast assert is made to check if types are compatible. |
void |
ChangeDatabase(java.lang.String database) |
static void |
ChangePassword(java.lang.String connectionString,
SqlCredential credential,
SecureString newSecurePassword) |
static void |
ChangePassword(java.lang.String connectionString,
java.lang.String newPassword) |
static void |
ClearAllPools() |
static void |
ClearPool(SqlConnection connection) |
void |
Close() |
SqlCommand |
CreateCommandNewSqlConnection() |
void |
EnlistDistributedTransaction(ITransaction transaction) |
void |
EnlistTransaction(Transaction transaction) |
java.lang.String |
getAccessToken() |
Guid |
getClientConnectionId() |
static TimeSpan |
getColumnEncryptionKeyCacheTtl() |
static boolean |
getColumnEncryptionQueryMetadataCacheEnabled() |
SqlCredential |
getCredential() |
boolean |
getFireInfoMessageEventOnUserErrors() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
getPacketSize() |
DataTable |
GetSchema() |
DataTable |
GetSchema(java.lang.String collectionName) |
DataTable |
GetSchema(java.lang.String dupParam0,
JCORefOut dupParam1) |
DataTable |
GetSchema(java.lang.String collectionName,
java.lang.String[] restrictionValues) |
boolean |
getStatisticsEnabled() |
java.lang.String |
getWorkstationId() |
void |
Open() |
Task |
OpenAsync(CancellationToken cancellationToken) |
void |
removeInfoMessage(SqlInfoMessageEventHandler handler) |
void |
ResetStatistics() |
IDictionary |
RetrieveStatistics() |
void |
setAccessToken(java.lang.String AccessToken) |
static void |
setColumnEncryptionKeyCacheTtl(TimeSpan ColumnEncryptionKeyCacheTtl) |
static void |
setColumnEncryptionQueryMetadataCacheEnabled(boolean ColumnEncryptionQueryMetadataCacheEnabled) |
void |
setCredential(SqlCredential Credential) |
void |
setFireInfoMessageEventOnUserErrors(boolean FireInfoMessageEventOnUserErrors) |
void |
setJCOInstance(JCObject instance) |
void |
setStatisticsEnabled(boolean StatisticsEnabled) |
addStateChange, BeginTransaction, BeginTransaction, CreateCommand, getConnectionString, getConnectionTimeout, getDatabase, getDataSource, getServerVersion, getState, OpenAsync, removeStateChange, setConnectionStringaddDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServiceEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringClone, ToICloneablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SqlConnection()
throws java.lang.Throwable,
ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic SqlConnection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SqlConnection(java.lang.String connectionString)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
NotSupportedException,
PlatformNotSupportedException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionPlatformNotSupportedExceptionOutOfMemoryExceptionpublic SqlConnection(java.lang.String connectionString,
SqlCredential credential)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPlatformNotSupportedExceptionpublic void addInfoMessage(SqlInfoMessageEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic SqlTransaction BeginTransaction(IsolationLevel iso, java.lang.String transactionName) throws java.lang.Throwable, ArgumentOutOfRangeException, EventSourceException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, OperationCanceledException, AggregateException, ArgumentException, OverflowException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException
java.lang.ThrowableArgumentOutOfRangeExceptionEventSourceExceptionArgumentNullExceptionThreadAbortExceptionInvalidOperationExceptionTaskSchedulerExceptionObjectDisposedExceptionOperationCanceledExceptionAggregateExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionpublic SqlTransaction BeginTransaction(java.lang.String transactionName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, AggregateException, ArgumentException, NotImplementedException, MissingManifestResourceException, FormatException
public SqlTransaction BeginTransactionNewSqlConnection() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, AggregateException, ArgumentException, NotImplementedException, MissingManifestResourceException, FormatException
public SqlTransaction BeginTransactionNewSqlConnection(IsolationLevel iso) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, AggregateException, ArgumentException, NotImplementedException, MissingManifestResourceException, FormatException
public static SqlConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SqlConnection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSqlConnection instancejava.lang.Throwable - in case of error during cast operationpublic void ChangeDatabase(java.lang.String database)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ThreadAbortException,
InvalidOperationException,
TaskSchedulerException,
ObjectDisposedException,
AggregateException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
TaskCanceledException,
SemaphoreFullException,
ArgumentException,
MissingManifestResourceException,
OutOfMemoryException,
IndexOutOfRangeException,
TransactionException,
OverflowException,
NotImplementedException
ChangeDatabase in class DbConnectionjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionThreadAbortExceptionInvalidOperationExceptionTaskSchedulerExceptionObjectDisposedExceptionAggregateExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTaskCanceledExceptionSemaphoreFullExceptionArgumentExceptionMissingManifestResourceExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionTransactionExceptionOverflowExceptionNotImplementedExceptionpublic static void ChangePassword(java.lang.String connectionString,
SqlCredential credential,
SecureString newSecurePassword)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OverflowException,
SecurityException,
UnauthorizedAccessException,
IOException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotSupportedException,
OperationCanceledException,
AbandonedMutexException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
OutOfMemoryException,
SqlException,
SqlTruncateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotSupportedExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionOutOfMemoryExceptionSqlExceptionSqlTruncateExceptionpublic static void ChangePassword(java.lang.String connectionString,
java.lang.String newPassword)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
IndexOutOfRangeException,
FormatException,
OverflowException,
SecurityException,
UnauthorizedAccessException,
IOException,
NullReferenceException,
MemberAccessException,
PathTooLongException,
NotSupportedException,
OperationCanceledException,
AbandonedMutexException,
TaskCanceledException,
AggregateException,
SemaphoreFullException,
OutOfMemoryException,
SqlException,
SqlTruncateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotSupportedExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionOutOfMemoryExceptionSqlExceptionSqlTruncateExceptionpublic static void ClearAllPools()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
MissingManifestResourceException,
NotImplementedException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
public static void ClearPool(SqlConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NullReferenceException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNullReferenceExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedExceptionpublic void Close()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
OverflowException,
ObjectDisposedException,
NotSupportedException,
FileNotFoundException,
DirectoryNotFoundException,
UnauthorizedAccessException,
IOException,
PathTooLongException,
DriveNotFoundException,
OperationCanceledException,
InvalidOperationException,
AggregateException,
ThreadAbortException,
TaskSchedulerException,
AbandonedMutexException,
MissingManifestResourceException,
NotImplementedException,
TransactionException,
SemaphoreFullException
Close in class DbConnectionjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionOverflowExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionAggregateExceptionThreadAbortExceptionTaskSchedulerExceptionAbandonedMutexExceptionMissingManifestResourceExceptionNotImplementedExceptionTransactionExceptionSemaphoreFullExceptionpublic SqlCommand CreateCommandNewSqlConnection() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
public void EnlistDistributedTransaction(ITransaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, NullReferenceException, PlatformNotSupportedException, ConfigurationErrorsException, ConfigurationException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TransactionException, OverflowException, TransactionManagerCommunicationException, ThreadAbortException, TaskSchedulerException, SemaphoreFullException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionNullReferenceExceptionPlatformNotSupportedExceptionConfigurationErrorsExceptionConfigurationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTransactionExceptionOverflowExceptionTransactionManagerCommunicationExceptionThreadAbortExceptionTaskSchedulerExceptionSemaphoreFullExceptionpublic void EnlistTransaction(Transaction transaction) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ConfigurationErrorsException, KeyNotFoundException, IndexOutOfRangeException, ThreadAbortException, TaskSchedulerException, AggregateException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException, TaskCanceledException, SemaphoreFullException, TransactionException
EnlistTransaction in class DbConnectionjava.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionAggregateExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTaskCanceledExceptionSemaphoreFullExceptionTransactionExceptionpublic java.lang.String getAccessToken()
throws java.lang.Throwable
java.lang.Throwablepublic Guid getClientConnectionId() throws java.lang.Throwable
java.lang.Throwablepublic static TimeSpan getColumnEncryptionKeyCacheTtl() throws java.lang.Throwable
java.lang.Throwablepublic static boolean getColumnEncryptionQueryMetadataCacheEnabled()
throws java.lang.Throwable
java.lang.Throwablepublic SqlCredential getCredential() throws java.lang.Throwable
java.lang.Throwablepublic boolean getFireInfoMessageEventOnUserErrors()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface ICloneablegetJCOAssemblyName in class DbConnectionString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface ICloneablegetJCOClassName in class DbConnectionString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface ICloneablegetJCOInstance in class DbConnectionObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface ICloneablegetJCOObjectName in class DbConnectionString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface ICloneablegetJCOType in class DbConnectionJCType representing the CLR Type of the instantiated Classpublic int getPacketSize()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public DataTable GetSchema() throws java.lang.Throwable, NotSupportedException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionpublic DataTable GetSchema(java.lang.String collectionName) throws java.lang.Throwable, NotSupportedException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionpublic DataTable GetSchema(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic DataTable GetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
GetSchema in class DbConnectionjava.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionpublic boolean getStatisticsEnabled()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getWorkstationId()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
NullReferenceException,
NotSupportedException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionNotSupportedExceptionpublic void Open()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
ArgumentException,
OverflowException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
SecurityException,
OutOfMemoryException,
AccessViolationException,
TransactionException,
ThreadAbortException,
PlatformNotSupportedException,
TransactionInDoubtException,
TransactionManagerCommunicationException,
NotSupportedException
Open in class DbConnectionjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionOutOfMemoryExceptionAccessViolationExceptionTransactionExceptionThreadAbortExceptionPlatformNotSupportedExceptionTransactionInDoubtExceptionTransactionManagerCommunicationExceptionNotSupportedExceptionpublic Task OpenAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, OverflowException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, TransactionException, TransactionManagerCommunicationException, TaskSchedulerException, SecurityException, OutOfMemoryException, AccessViolationException, ThreadAbortException, TransactionInDoubtException, NotSupportedException, NullReferenceException, SemaphoreFullException
OpenAsync in class DbConnectionjava.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationExceptionTaskSchedulerExceptionSecurityExceptionOutOfMemoryExceptionAccessViolationExceptionThreadAbortExceptionTransactionInDoubtExceptionNotSupportedExceptionNullReferenceExceptionSemaphoreFullExceptionpublic void removeInfoMessage(SqlInfoMessageEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ResetStatistics()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
OverflowException
public IDictionary RetrieveStatistics() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
public void setAccessToken(java.lang.String AccessToken)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
NotImplementedException,
CultureNotFoundException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
PlatformNotSupportedException,
NotSupportedException,
OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionpublic static void setColumnEncryptionKeyCacheTtl(TimeSpan ColumnEncryptionKeyCacheTtl) throws java.lang.Throwable
java.lang.Throwablepublic static void setColumnEncryptionQueryMetadataCacheEnabled(boolean ColumnEncryptionQueryMetadataCacheEnabled)
throws java.lang.Throwable
java.lang.Throwablepublic void setCredential(SqlCredential Credential) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryExceptionpublic void setFireInfoMessageEventOnUserErrors(boolean FireInfoMessageEventOnUserErrors)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class DbConnectionpublic void setStatisticsEnabled(boolean StatisticsEnabled)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
OverflowException