Partilhar via


OdbcFactory.CreateConnectionStringBuilder Método

Definição

Retorna uma instância de 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 OdbcFactory = OdbcFactory.Instance
Dim cmd As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()
OdbcFactory newFactory = OdbcFactory.Instance;
DbConnectionStringBuilder cmd = newFactory.CreateConnectionStringBuilder();

Aplica-se a