Partilhar via


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

Aplica-se a