IDataConnection 인터페이스
데이터 연결을 나타내는 속성과 메서드를 정의합니다.
네임스페이스: Microsoft.SqlServerCe.Management.Scripting
어셈블리: Microsoft.SqlServerCe.Management.Scripting(Microsoft.SqlServerCe.Management.Scripting.dll)
구문
‘선언
Public Interface IDataConnection _
Inherits IDisposable
‘사용 방법
Dim instance As IDataConnection
public interface IDataConnection : IDisposable
public interface class IDataConnection : IDisposable
type IDataConnection =
interface
interface IDisposable
end
public interface IDataConnection extends IDisposable
IDataConnection 유형에서 다음 멤버를 표시합니다.
속성
이름 | 설명 | |
---|---|---|
ConnectionString | 데이터 연결의 연결 문자열을 가져옵니다. | |
Database | 데이터베이스의 이름을 가져옵니다. | |
InternalConnection | 연결의 내부 연결(ADO.NET 공급자 독립 연결 인스턴스)을 가져옵니다. |
맨 위로 이동
메서드
이름 | 설명 | |
---|---|---|
CloseConnection | 연결이 닫혀 있지 않은 경우 데이터베이스의 연결을 닫습니다. | |
Connect | 데이터베이스에 대한 연결을 엽니다. | |
Dispose | (IDisposable에서 상속) | |
InstantiateDataAdapter | 새 데이터베이스 데이터 어댑터 인스턴스를 인스턴스화합니다. |
맨 위로 이동