Partager via


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

S’applique à