SqlCeProviderFactory.CreateConnection 메서드
[System.Data.Common.DbConnection]을 구현하는 공급자 클래스의 새 인스턴스를 반환합니다.
네임스페이스: System.Data.SqlServerCe
어셈블리: System.Data.SqlServerCe(System.Data.SqlServerCe.dll)
구문
‘선언
Public Overrides Function CreateConnection As DbConnection
‘사용 방법
Dim instance As SqlCeProviderFactory
Dim returnValue As DbConnection
returnValue = instance.CreateConnection()
public override DbConnection CreateConnection()
public:
virtual DbConnection^ CreateConnection() override
abstract CreateConnection : unit -> DbConnection
override CreateConnection : unit -> DbConnection
public override function CreateConnection() : DbConnection
반환 값
유형: System.Data.Common.DbConnection
[System.Data.Common.DbConnection] 의 새 인스턴스입니다.