Condividi tramite


OracleClientFactory.CreateConnectionStringBuilder Metodo

Definizione

Restituisce un'istanza di 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 fortemente tipizzata dell'oggetto DbConnectionStringBuilder.

Esempio

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

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance  
Dim connectionBuilder As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()  
OracleClientFactory newFactory = OracleClientFactory.Instance;  
DbConnectionStringBuilder connectionBuilder = newFactory.CreateConnectionStringBuilder();  

Si applica a