Aracılığıyla paylaş


SqlClientFactory.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 türü belirlenmiş DbConnectionStringBuilder bir örnek döndürür:

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

Şunlara uygulanır

Ayrıca bkz.