Redigeeri

Jagamisviis:


DbDataSource.CreateDbConnection Method

Definition

Returns a new, closed connection to the database represented by this DbDataSource.

protected:
 abstract System::Data::Common::DbConnection ^ CreateDbConnection();
protected abstract System.Data.Common.DbConnection CreateDbConnection ();
abstract member CreateDbConnection : unit -> System.Data.Common.DbConnection
Protected MustOverride Function CreateDbConnection () As DbConnection

Returns

A new, closed connection to the database represented by this DbDataSource.

Remarks

This method is meant to be overridden by implementing ADO.NET providers, and is not a user-facing API.

Applies to