DbProviderFactory.CreateConnection Metodo

Definizione

Restituisce una nuova istanza della classe del provider che implementa la classe DbConnection.

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

Restituisce

Nuova istanza di DbConnection.

Si applica a

Vedi anche