다음을 통해 공유


ConnectionStore.GetConnection 메서드

정의

기존 연결의 복사본을 만듭니다.

오버로드

GetConnection()

기존 연결의 복사본을 만듭니다. 이 클래스는 상속될 수 없습니다.

GetConnection(Boolean)

이 개체에서 사용되는 연결을 검색합니다. 이 클래스는 상속될 수 없습니다.

GetConnection()

기존 연결의 복사본을 만듭니다. 이 클래스는 상속될 수 없습니다.

public:
 virtual System::Data::IDbConnection ^ GetConnection();
public System.Data.IDbConnection GetConnection ();
abstract member GetConnection : unit -> System.Data.IDbConnection
override this.GetConnection : unit -> System.Data.IDbConnection
Public Function GetConnection () As IDbConnection

반환

기존 연결의 복사본을 반환합니다.

구현

적용 대상

GetConnection(Boolean)

이 개체에서 사용되는 연결을 검색합니다. 이 클래스는 상속될 수 없습니다.

public:
 virtual System::Data::IDbConnection ^ GetConnection(bool newConnection);
public System.Data.IDbConnection GetConnection (bool newConnection);
abstract member GetConnection : bool -> System.Data.IDbConnection
override this.GetConnection : bool -> System.Data.IDbConnection
Public Function GetConnection (newConnection As Boolean) As IDbConnection

매개 변수

newConnection
Boolean

성공하면 true이고, 그렇지 않으면 false입니다.

반환

SQLServerConnection 개체입니다.

구현

적용 대상