Compartilhar via


OracleClientFactory.CreateConnectionStringBuilder Método

Definição

Retorna uma instância DbConnectionStringBuilder fortemente tipada.

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

Retornos

Uma nova instância fortemente tipada de DbConnectionStringBuilder.

Exemplos

O fragmento de código a seguir retorna uma instância fortemente tipada DbConnectionStringBuilder .

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

Aplica-se a