Package system.data.sqlclient
Class SqlConnection
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.MarshalByRefObject
-
- system.componentmodel.Component
-
- system.data.common.DbConnection
-
- system.data.sqlclient.SqlConnection
-
- All Implemented Interfaces:
java.lang.AutoCloseable,IJCOBridgeReflected,ICloneable
public class SqlConnection extends DbConnection implements ICloneable
The base .NET class managing System.Data.SqlClient.SqlConnection, System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..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
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Datastatic java.lang.StringclassNameQualified class name: System.Data.SqlClient.SqlConnectionstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SqlConnection()SqlConnection(java.lang.Object instance)Internal constructor.SqlConnection(java.lang.String connectionString)SqlConnection(java.lang.String connectionString, SqlCredential credential)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInfoMessage(SqlInfoMessageEventHandler handler)SqlTransactionBeginTransaction(java.lang.String transactionName)SqlTransactionBeginTransaction(IsolationLevel iso, java.lang.String transactionName)SqlTransactionBeginTransactionNewSqlConnection()SqlTransactionBeginTransactionNewSqlConnection(IsolationLevel iso)static SqlConnectioncast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSqlConnection, a cast assert is made to check if types are compatible.voidChangeDatabase(java.lang.String database)static voidChangePassword(java.lang.String connectionString, java.lang.String newPassword)static voidChangePassword(java.lang.String connectionString, SqlCredential credential, SecureString newSecurePassword)static voidClearAllPools()static voidClearPool(SqlConnection connection)voidClose()SqlCommandCreateCommandNewSqlConnection()voidEnlistDistributedTransaction(ITransaction transaction)voidEnlistTransaction(Transaction transaction)java.lang.StringgetAccessToken()GuidgetClientConnectionId()static TimeSpangetColumnEncryptionKeyCacheTtl()static booleangetColumnEncryptionQueryMetadataCacheEnabled()SqlCredentialgetCredential()booleangetFireInfoMessageEventOnUserErrors()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeintgetPacketSize()DataTableGetSchema()DataTableGetSchema(java.lang.String collectionName)DataTableGetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues)DataTableGetSchema(java.lang.String dupParam0, JCORefOut dupParam1)booleangetStatisticsEnabled()java.lang.StringgetWorkstationId()voidOpen()TaskOpenAsync(CancellationToken cancellationToken)voidremoveInfoMessage(SqlInfoMessageEventHandler handler)voidResetStatistics()IDictionaryRetrieveStatistics()voidsetAccessToken(java.lang.String AccessToken)static voidsetColumnEncryptionKeyCacheTtl(TimeSpan ColumnEncryptionKeyCacheTtl)static voidsetColumnEncryptionQueryMetadataCacheEnabled(boolean ColumnEncryptionQueryMetadataCacheEnabled)voidsetCredential(SqlCredential Credential)voidsetFireInfoMessageEventOnUserErrors(boolean FireInfoMessageEventOnUserErrors)voidsetJCOInstance(JCObject instance)voidsetStatisticsEnabled(boolean StatisticsEnabled)-
Methods inherited from class system.data.common.DbConnection
addStateChange, BeginTransaction, BeginTransaction, CreateCommand, getConnectionString, getConnectionTimeout, getDatabase, getDataSource, getServerVersion, getState, OpenAsync, removeStateChange, setConnectionString
-
Methods inherited from class system.componentmodel.Component
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSite
-
Methods inherited from class system.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.ICloneable
Clone
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Data- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Data.SqlClient.SqlConnection- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SqlConnection
public SqlConnection(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SqlConnection
public SqlConnection() throws java.lang.Throwable, ArgumentNullException- Throws:
java.lang.ThrowableArgumentNullException
-
SqlConnection
public SqlConnection(java.lang.String connectionString) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, NotSupportedException, PlatformNotSupportedException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionNotSupportedExceptionPlatformNotSupportedExceptionOutOfMemoryException
-
SqlConnection
public SqlConnection(java.lang.String connectionString, SqlCredential credential) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionPlatformNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceICloneable- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDbConnection- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceICloneable- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDbConnection- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceICloneable- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDbConnection- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceICloneable- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDbConnection- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDbConnection
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceICloneable- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDbConnection- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static SqlConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSqlConnection, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SqlConnectioninstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
RetrieveStatistics
public IDictionary RetrieveStatistics() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
-
GetSchema
public DataTable GetSchema() throws java.lang.Throwable, NotSupportedException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableNotSupportedException
-
GetSchema
public DataTable GetSchema(java.lang.String collectionName) throws java.lang.Throwable, NotSupportedException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableNotSupportedException
-
GetSchema
public DataTable GetSchema(java.lang.String collectionName, java.lang.String[] restrictionValues) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeException
-
GetSchema
public DataTable GetSchema(java.lang.String dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException
- Overrides:
GetSchemain classDbConnection- Throws:
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionArgumentExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeException
-
CreateCommandNewSqlConnection
public SqlCommand CreateCommandNewSqlConnection() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentException, ArgumentNullException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, FormatException
-
BeginTransactionNewSqlConnection
public SqlTransaction BeginTransactionNewSqlConnection() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, AggregateException, ArgumentException, NotImplementedException, MissingManifestResourceException, FormatException
-
BeginTransactionNewSqlConnection
public SqlTransaction BeginTransactionNewSqlConnection(IsolationLevel iso) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, AggregateException, ArgumentException, NotImplementedException, MissingManifestResourceException, FormatException
-
BeginTransaction
public 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
- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionEventSourceExceptionArgumentNullExceptionThreadAbortExceptionInvalidOperationExceptionTaskSchedulerExceptionObjectDisposedExceptionOperationCanceledExceptionAggregateExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceException
-
BeginTransaction
public SqlTransaction BeginTransaction(java.lang.String transactionName) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ThreadAbortException, InvalidOperationException, TaskSchedulerException, ObjectDisposedException, AggregateException, ArgumentException, NotImplementedException, MissingManifestResourceException, FormatException
-
OpenAsync
public 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
- Overrides:
OpenAsyncin classDbConnection- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionTransactionExceptionTransactionManagerCommunicationExceptionTaskSchedulerExceptionSecurityExceptionOutOfMemoryExceptionAccessViolationExceptionThreadAbortExceptionTransactionInDoubtExceptionNotSupportedExceptionNullReferenceExceptionSemaphoreFullException
-
ChangeDatabase
public 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- Overrides:
ChangeDatabasein classDbConnection- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionThreadAbortExceptionInvalidOperationExceptionTaskSchedulerExceptionObjectDisposedExceptionAggregateExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTaskCanceledExceptionSemaphoreFullExceptionArgumentExceptionMissingManifestResourceExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionTransactionExceptionOverflowExceptionNotImplementedException
-
ChangePassword
public 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotSupportedExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionOutOfMemoryExceptionSqlExceptionSqlTruncateException
-
ChangePassword
public 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- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionOverflowExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionNullReferenceExceptionMemberAccessExceptionPathTooLongExceptionNotSupportedExceptionOperationCanceledExceptionAbandonedMutexExceptionTaskCanceledExceptionAggregateExceptionSemaphoreFullExceptionOutOfMemoryExceptionSqlExceptionSqlTruncateException
-
ClearAllPools
public static void ClearAllPools() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, NotSupportedException
-
ClearPool
public static void ClearPool(SqlConnection connection) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NullReferenceException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, PlatformNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNullReferenceExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionPlatformNotSupportedException
-
Close
public 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- Overrides:
Closein classDbConnection- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionOverflowExceptionObjectDisposedExceptionNotSupportedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidOperationExceptionAggregateExceptionThreadAbortExceptionTaskSchedulerExceptionAbandonedMutexExceptionMissingManifestResourceExceptionNotImplementedExceptionTransactionExceptionSemaphoreFullException
-
EnlistDistributedTransaction
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
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionNullReferenceExceptionPlatformNotSupportedExceptionConfigurationErrorsExceptionConfigurationExceptionWaitHandleCannotBeOpenedExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTransactionExceptionOverflowExceptionTransactionManagerCommunicationExceptionThreadAbortExceptionTaskSchedulerExceptionSemaphoreFullException
-
EnlistTransaction
public 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
- Overrides:
EnlistTransactionin classDbConnection- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionConfigurationErrorsExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionThreadAbortExceptionTaskSchedulerExceptionAggregateExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionTaskCanceledExceptionSemaphoreFullExceptionTransactionException
-
Open
public 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- Overrides:
Openin classDbConnection- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionOverflowExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionSecurityExceptionOutOfMemoryExceptionAccessViolationExceptionTransactionExceptionThreadAbortExceptionPlatformNotSupportedExceptionTransactionInDoubtExceptionTransactionManagerCommunicationExceptionNotSupportedException
-
ResetStatistics
public void ResetStatistics() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
-
getColumnEncryptionQueryMetadataCacheEnabled
public static boolean getColumnEncryptionQueryMetadataCacheEnabled() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setColumnEncryptionQueryMetadataCacheEnabled
public static void setColumnEncryptionQueryMetadataCacheEnabled(boolean ColumnEncryptionQueryMetadataCacheEnabled) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getFireInfoMessageEventOnUserErrors
public boolean getFireInfoMessageEventOnUserErrors() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setFireInfoMessageEventOnUserErrors
public void setFireInfoMessageEventOnUserErrors(boolean FireInfoMessageEventOnUserErrors) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getStatisticsEnabled
public boolean getStatisticsEnabled() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setStatisticsEnabled
public void setStatisticsEnabled(boolean StatisticsEnabled) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, OverflowException
-
getPacketSize
public int getPacketSize() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
-
getCredential
public SqlCredential getCredential() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setCredential
public void setCredential(SqlCredential Credential) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryException
-
getClientConnectionId
public Guid getClientConnectionId() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getAccessToken
public java.lang.String getAccessToken() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setAccessToken
public void setAccessToken(java.lang.String AccessToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, PlatformNotSupportedException, NotSupportedException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionPlatformNotSupportedExceptionNotSupportedExceptionOutOfMemoryException
-
getWorkstationId
public java.lang.String getWorkstationId() throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, NotSupportedException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionNotSupportedException
-
getColumnEncryptionKeyCacheTtl
public static TimeSpan getColumnEncryptionKeyCacheTtl() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setColumnEncryptionKeyCacheTtl
public static void setColumnEncryptionKeyCacheTtl(TimeSpan ColumnEncryptionKeyCacheTtl) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addInfoMessage
public void addInfoMessage(SqlInfoMessageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeInfoMessage
public void removeInfoMessage(SqlInfoMessageEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-