Aracılığıyla paylaş


OracleClientFactory.CreateConnectionStringBuilder Yöntem

Tanım

Kesin olarak belirlenmiş DbConnectionStringBuilder bir örnek döndürür.

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

Döndürülenler

Türü kesin olarak belirlenmiş yeni bir DbConnectionStringBuilderörneği.

Örnekler

Aşağıdaki kod parçası kesin olarak belirlenmiş DbConnectionStringBuilder bir örnek döndürür.

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

Şunlara uygulanır