OracleClientFactory.CreateConnectionStringBuilder 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回強型別的 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
傳回
DbConnectionStringBuilder 的新強型別執行個體。
範例
下列代碼段會傳回強型別 DbConnectionStringBuilder 實例。
Dim newFactory As OracleClientFactory = OracleClientFactory.Instance
Dim connectionBuilder As DbConnectionStringBuilder = newFactory.CreateConnectionStringBuilder()
OracleClientFactory newFactory = OracleClientFactory.Instance;
DbConnectionStringBuilder connectionBuilder = newFactory.CreateConnectionStringBuilder();