Bagikan melalui


OracleClientFactory.CreateConnectionStringBuilder Metode

Definisi

Mengembalikan instans yang ditik DbConnectionStringBuilder dengan kuat.

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

Mengembalikan

Instans baru yang dikritik dengan kuat dari DbConnectionStringBuilder.

Contoh

Fragmen kode berikut mengembalikan instans yang ditik DbConnectionStringBuilder dengan kuat.

Dim newFactory As OracleClientFactory = OracleClientFactory.Instance  
Dim connectionBuilder As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()  
OracleClientFactory newFactory = OracleClientFactory.Instance;  
DbConnectionStringBuilder connectionBuilder = newFactory.CreateConnectionStringBuilder();  

Berlaku untuk