Compartir vía


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

Se aplica a