Condividi tramite


OleDbFactory.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 OleDbFactory = OleDbFactory.Instance
Dim cmd As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()
OleDbFactory newFactory = OleDbFactory.Instance;
DbConnectionStringBuilder cmd = newFactory.CreateConnectionStringBuilder();

Si applica a