다음을 통해 공유


OdbcFactory.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 인스턴스:

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

적용 대상