Condividi tramite


OdbcFactory.CreateConnectionStringBuilder Metodo

Definizione

Restituisce un'istanza DbConnectionStringBuilder fortemente tipizzata.

public:
 override System::Data::Common::DbConnectionStringBuilder ^ CreateConnectionStringBuilder();
public override System.Data.Common.DbConnectionStringBuilder CreateConnectionStringBuilder ();
override this.CreateConnectionStringBuilder : unit -> System.Data.Common.DbConnectionStringBuilder
Public Overrides Function CreateConnectionStringBuilder () As DbConnectionStringBuilder

Restituisce

Nuova istanza della classe DbConnectionStringBuilder fortemente tipizzata.

Esempio

Il frammento di codice seguente restituisce un'istanza fortemente tipizzata DbConnectionStringBuilder :

Dim newFactory As OdbcFactory = OdbcFactory.Instance
Dim cmd As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()
OdbcFactory newFactory = OdbcFactory.Instance;
DbConnectionStringBuilder cmd = newFactory.CreateConnectionStringBuilder();

Si applica a