Aracılığıyla paylaş


OleDbFactory.CreateConnectionStringBuilder Yöntem

Tanım

Kesin olarak türü 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 örneği.DbConnectionStringBuilder

Örnekler

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

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

Şunlara uygulanır