Export (0) Print
Expand All

IDataConnection Interface

Visual Studio 2010

Defines properties and methods that represent the data connection.

Namespace:  Microsoft.SqlServerCe.Management.Scripting
Assembly:  Microsoft.SqlServerCe.Management.Scripting (in Microsoft.SqlServerCe.Management.Scripting.dll)

'Declaration
Public Interface IDataConnection _
	Inherits IDisposable
'Usage
Dim instance As IDataConnection

The IDataConnection type exposes the following members.

  NameDescription
Public propertyConnectionStringGets the connection string for the data connection.
Public propertyDatabaseGets the name of the database.
Public propertyInternalConnectionGets the internal connection (the ADO.NET provider independent connection instance) for the connection.
Top

  NameDescription
Public methodCloseConnectionCloses the connection of the database if the connection is not already closed.
Public methodConnectOpens the connection to the database.
Public methodDispose (inherited from IDisposable)
Public methodInstantiateDataAdapterInstantiates a new database data adapter instance.
Top
Show:
© 2014 Microsoft