Export (0) Print
Expand All

DbConnection Properties

The DbConnection type exposes the following members.

  NameDescription
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ConnectionString Gets or sets the string used to open the connection.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ConnectionTimeout Gets the time to wait while establishing a connection before terminating the attempt and generating an error.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Database 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.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DataSource Gets the name of the database server to which to connect.
Protected property DbProviderFactory Gets the DbProviderFactory for this DbConnection.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ServerVersion Gets a string that represents the version of the server to which the object is connected.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework State Gets a string that describes the state of the connection.
Top

Community Additions

ADD
Show:
© 2014 Microsoft