Assembly: System.Data (in System.Data.dll)
Starts a database transaction.
Starts a database transaction with the specified isolation level.
Starts a database transaction with the specified isolation level and transaction name.
Starts a database transaction with the specified transaction name.
|ChangePassword(String, SqlCredential, SecureString)|
Changes the SQL Server password for the user indicated in the SqlCredential object.
Changes the SQL Server password for the user indicated in the connection string to the supplied new password.
Empties the connection pool.
Empties the connection pool associated with the specified connection.
Closes the connection to the database. This is the preferred method of closing any open connection.(Overrides DbConnection.Close().)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)
Enlists in the specified transaction as a distributed transaction.
Enlists in the specified transaction as a distributed transaction.(Overrides DbConnection.EnlistTransaction(Transaction).)
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Serves as the default hash function. (Inherited from Object.)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)
Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)
An asynchronous version of Open, which opens a database connection with the property settings specified by the ConnectionString. The cancellation token can be used to request that the operation be abandoned before the connection timeout elapses. Exceptions will be propagated via the returned Task. If the connection timeout time elapses without successfully connecting, the returned Task will be marked as faulted with an Exception. The implementation returns a Task without blocking the calling thread for both pooled and non-pooled connections.(Overrides DbConnection.OpenAsync(CancellationToken).)
Registers the column encryption key store providers.
If statistics gathering is enabled, all values are reset to zero.
Returns a name value pair collection of statistics at the point in time the method is called.
Begins a database transaction.(Inherited from DbConnection.)
Creates a new object that is a copy of the current instance.