DbDataSource.OpenDbConnection 메서드

정의

DbDataSource가 나타내는 데이터베이스에 대한 열려 있는 새 연결을 반환합니다.

protected:
 virtual System::Data::Common::DbConnection ^ OpenDbConnection();
protected virtual System.Data.Common.DbConnection OpenDbConnection ();
abstract member OpenDbConnection : unit -> System.Data.Common.DbConnection
override this.OpenDbConnection : unit -> System.Data.Common.DbConnection
Protected Overridable Function OpenDbConnection () As DbConnection

반환

DbDataSource가 나타내는 데이터베이스에 대한 열린 새 연결입니다.

설명

이 메서드는 ADO.NET 공급자를 구현하여 재정의하기 위한 것이며 사용자 지향 API가 아닙니다.

적용 대상