Mono Class Library: Overview

System.Data.SqlClient.SqlConnection: Members

The members of System.Data.SqlClient.SqlConnection are listed below.

See Also: Inherited members from System.Data.Common.DbConnection

Public Constructors

Initializes a new instance of the SqlConnection class.
Initializes a new instance of the SqlConnection class with a connection string.

Public Properties

override
ConnectionStringstring. Gets or sets the database Connection String associated with the SqlConnection instance.
[read-only]
override
ConnectionTimeoutint. Gets the amount of time the System.Data.SqlClient.SqlConnection will wait while attempting to connect to a SQL Server instance.
[read-only]
override
Databasestring. Gets the name of the database the System.Data.SqlClient.SqlConnection instance references.
[read-only]
override
DataSourcestring. Gets the current SQL Server that the System.Data.SqlClient.SqlConnection references.
FireInfoMessageEventOnUserErrorsbool. Documentation for this section has not yet been entered.
[read-only]
PacketSizeint. Gets the packet size used to communicate with a SQL Server.
[read-only]
override
ServerVersionstring. Gets the version of a SQL Server instance.
[read-only]
override
StateSystem.Data.ConnectionState. Gets the current connection state.
StatisticsEnabledbool. Documentation for this section has not yet been entered.
[read-only]
WorkstationIdstring. Gets the database connection client workstation ID.

Public Methods

BeginTransaction() : SqlTransaction
Begins a new database transaction.
BeginTransaction(System.Data.IsolationLevel) : SqlTransaction
Begins a new database transaction with a specified System.Data.IsolationLevel.
BeginTransaction(string) : SqlTransaction
Begins a new database transaction with a specified transaction name.
BeginTransaction(System.Data.IsolationLevel, string) : SqlTransaction
Begins a new database transaction with a specified System.Data.IsolationLevel and transaction name.
override
ChangeDatabase(string)
Change the database currently associated with the System.Data.SqlClient.SqlConnection instance.
static
ChangePassword(string, string)
Documentation for this section has not yet been entered.
static
ClearAllPools()
Documentation for this section has not yet been entered.
static
ClearPool(SqlConnection)
Documentation for this section has not yet been entered.
override
Close()
Close an open database connection.
CreateCommand() : SqlCommand
Creates a new instance of the System.Data.SqlClient.SqlCommand class with the connection referencing the current System.Data.SqlClient.SqlCommand instance.
EnlistDistributedTransaction(System.EnterpriseServices.ITransaction)
Documentation for this section has not yet been entered.
override
GetSchema() : System.Data.DataTable
Documentation for this section has not yet been entered.
override
GetSchema(string) : System.Data.DataTable
Documentation for this section has not yet been entered.
override
GetSchema(string, string[]) : System.Data.DataTable
Documentation for this section has not yet been entered.
override
Open()
Opens a connection to a SQL Server database.

Protected Methods

override
BeginDbTransaction(System.Data.IsolationLevel) : System.Data.Common.DbTransaction
Documentation for this section has not yet been entered.
override
CreateDbCommand() : System.Data.Common.DbCommand
Documentation for this section has not yet been entered.
override
Dispose(bool)
Disposes the current System.Data.SqlClient.SqlConnection instance.

Public Events

InfoMessageDocumentation for this section has not yet been entered.
StateChangeEvent that is triggered when the connection's status changes.

Explicitly Implemented Interface Members

System.Data.IDbConnection.BeginTransactionDocumentation for this section has not yet been entered.
System.Data.IDbConnection.BeginTransactionDocumentation for this section has not yet been entered.
ICloneable.CloneDocumentation for this section has not yet been entered.
System.Data.IDbConnection.CreateCommandDocumentation for this section has not yet been entered.