Bagikan melalui


DbProviderFactory.CreateConnection Metode

Definisi

Mengembalikan instans baru kelas penyedia yang mengimplementasikan DbConnection kelas .

public:
 virtual System::Data::Common::DbConnection ^ CreateConnection();
public virtual System.Data.Common.DbConnection CreateConnection ();
public virtual System.Data.Common.DbConnection? CreateConnection ();
abstract member CreateConnection : unit -> System.Data.Common.DbConnection
override this.CreateConnection : unit -> System.Data.Common.DbConnection
Public Overridable Function CreateConnection () As DbConnection

Mengembalikan

Instans baru .DbConnection

Berlaku untuk

Lihat juga