Compartir a través de


OdbcFactory.CreateConnectionStringBuilder Método

Definición

Devuelve una instancia de DbConnectionStringBuilder fuertemente 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

Devoluciones

Una nueva instancia de DbConnectionStringBuilder fuertemente tipada.

Ejemplos

El fragmento de código siguiente devuelve una instancia fuertemente tipada DbConnectionStringBuilder :

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

Se aplica a