DbConnection Properties

 

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

NameDescription
System_CAPS_protpropertyCanRaiseEvents

Gets a value indicating whether the component can raise an event.(Inherited from Component.)

System_CAPS_pubpropertyConnectionString

Gets or sets the string used to open the connection.

System_CAPS_pubpropertyConnectionTimeout

Gets the time to wait while establishing a connection before terminating the attempt and generating an error.

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_pubpropertyDatabase

Gets the name of the current database after a connection is opened, or the database name specified in the connection string before the connection is opened.

System_CAPS_pubpropertyDataSource

Gets the name of the database server to which to connect.

System_CAPS_protpropertyDbProviderFactory

Gets the DbProviderFactory for this DbConnection.

System_CAPS_protpropertyDesignMode

Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this Component.(Inherited from Component.)

System_CAPS_pubpropertyServerVersion

Gets a string that represents the version of the server to which the object is connected.

System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

System_CAPS_pubpropertyState

Gets a string that describes the state of the connection.

Return to top
Show: