다음을 통해 공유


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 의 인스턴스를 반환합니다.

SqlClientFactory newFactory = SqlClientFactory.Instance;
DbConnectionStringBuilder cmd =
newFactory.CreateConnectionStringBuilder();

적용 대상