다음을 통해 공유


SqlClientFactory.CreateConnectionStringBuilder 메서드

정의

강력한 형식의 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 의 instance 반환합니다.

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

적용 대상

추가 정보