OleDbFactory.CreateConnectionStringBuilder Metoda

Definice

Vrátí instanci silného typu DbConnectionStringBuilder .

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

Návraty

Nová instance silného typu .DbConnectionStringBuilder

Příklady

Následující fragment kódu vrátí instanci silného typu DbConnectionStringBuilder :

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

Platí pro