Assembly: System.Data (in System.Data.dll)
Gets or sets the access token for the connection.
The connection ID of the most recent connection attempt, regardless of whether the attempt succeeded or failed.
Allows you to set a list of trusted key paths for a database server. If while processing an application query the driver receives a key path that is not on the list, the query will fail. This property provides additional protection against security attacks that involve a compromised SQL Server providing fake key paths, which may lead to leaking key store credentials.
Gets or sets the string used to open a SQL Server database.(Overrides DbConnection.ConnectionString.)
Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.(Overrides DbConnection.ConnectionTimeout.)
Gets or sets the SqlCredential object for this connection.
Gets the name of the current database or the database to be used after a connection is opened.(Overrides DbConnection.Database.)
Gets the name of the instance of SQL Server to which to connect.(Overrides DbConnection.DataSource.)
Gets or sets the FireInfoMessageEventOnUserErrors property.
Gets the size (in bytes) of network packets used to communicate with an instance of SQL Server.
Gets a string that contains the version of the instance of SQL Server to which the client is connected.(Overrides DbConnection.ServerVersion.)
When set to true, enables statistics gathering for the current connection.
Gets a string that identifies the database client.