Partager via


OleDbFactory.CreateConnectionStringBuilder Méthode

Définition

Retourne une instance de DbConnectionStringBuilder fortement typée.

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

Retours

Nouvelle instance fortement typée de DbConnectionStringBuilder.

Exemples

Le fragment de code suivant retourne une instance fortement typée DbConnectionStringBuilder :

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

S’applique à