OdbcFactory.CreateConnectionStringBuilder Yöntem

Tanım

Kesin türe sahip 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 türe sahip DbConnectionStringBuilder bir örnek döndürür:

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

Şunlara uygulanır