다음을 통해 공유


AdoDotNetConnectionSupport 클래스

구현을 제공의 IVsDataConnectionSupport 인터페이스와 구현 하는 간접의 IVsDataCommand, IVsDataAsyncCommand, 및 IVsDataTransaction 적절 한 ADO.NET 개체를 사용 하 여 인터페이스를.

상속 계층 구조

System.Object
  Microsoft.VisualStudio.Data.Framework.ServiceProvider
    Microsoft.VisualStudio.Data.Framework.DataSiteableServiceProvider<IVsDataConnection>
      Microsoft.VisualStudio.Data.Framework.DataConnectionSupport
        Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetConnectionSupport

네임스페이스:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
어셈블리:  Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)

구문

‘선언
Public Class AdoDotNetConnectionSupport _
    Inherits DataConnectionSupport _
    Implements IVsDataSiteableObject(Of IVsDataProvider)
public class AdoDotNetConnectionSupport : DataConnectionSupport, 
    IVsDataSiteableObject<IVsDataProvider>
public ref class AdoDotNetConnectionSupport : public DataConnectionSupport, 
    IVsDataSiteableObject<IVsDataProvider^>
type AdoDotNetConnectionSupport =  
    class
        inherit DataConnectionSupport
        interface IVsDataSiteableObject<IVsDataProvider>
    end
public class AdoDotNetConnectionSupport extends DataConnectionSupport implements IVsDataSiteableObject<IVsDataProvider>

AdoDotNetConnectionSupport 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 AdoDotNetConnectionSupport AdoDotNetConnectionSupport 클래스의 인스턴스를 초기화합니다.

위쪽

속성

  이름 설명
Protected 속성 Connection 가져옵니다의 DbConnection 연결 지원 현재 인스턴스가 사용 되는 개체입니다.
Public 속성 ConnectionString 지정 된 데이터 소스에 연결 하는 데 필요한 정보를 나타내는 문자열을 가져오거나 설정 합니다. (DataConnectionSupport.ConnectionString을(를) 재정의함)
Public 속성 ConnectionTimeout 종료 하 고 제한 시간 오류를 생성 하기 전에 연결을 기다리는 시간 (초), 시간을 가져오거나 설정 합니다. (DataConnectionSupport.ConnectionTimeout을(를) 재정의함)
Protected 속성 CurrentCommand 가져옵니다의 DbCommand 연결 지원 현재 인스턴스가 현재 사용 중인 개체입니다.
Protected 속성 CurrentTransaction 가져옵니다의 DbTransaction 연결 지원 현재 인스턴스가 현재 사용 중인 개체입니다.
Protected 속성 InAsyncMode 연결을 비동기 모드에 있는지 여부를 나타내는 값을 가져옵니다.
Protected 속성 ParentProvider 부모 서비스 공급자의 현재 인스턴스를 가져옵니다. (ServiceProvider에서 상속됨)
Public 속성 ProviderObject 지정 된 연결에 대 한 기본 공급자 개체를 가져옵니다. (DataConnectionSupport.ProviderObject을(를) 재정의함)
Protected 속성 ServiceProvider 전역 가져옵니다 Visual Studio 서비스 공급자입니다. (DataConnectionSupport에서 상속됨)
Public 속성 Site 사이트를 가져오거나 설정 합니다. (DataSiteableServiceProvider<T>에서 상속됨)
Public 속성 State 데이터 연결의 상태를 가져옵니다. (DataConnectionSupport.State을(를) 재정의함)

위쪽

메서드

  이름 설명
Public 메서드 AddService(Type, ServiceCreatorCallback) 지정 된 서비스는 서비스의 내부 컬렉션에 추가합니다. (ServiceProvider에서 상속됨)
Public 메서드 AddService(Type, Object) 지정 된 서비스는 서비스의 내부 컬렉션에 추가합니다. (ServiceProvider에서 상속됨)
Public 메서드 AddService(Type, ServiceCreatorCallback, Boolean) 지정 된 서비스 서비스의 내부 컬렉션 또는 부모 서비스 컨테이너에 추가합니다. (ServiceProvider에서 상속됨)
Public 메서드 AddService(Type, Object, Boolean) 지정 된 서비스는 서비스 개체의 컬렉션 또는 부모 서비스 컨테이너에 추가합니다. (ServiceProvider에서 상속됨)
Protected 메서드 BeginTransactionCore 트랜잭션을 시작합니다.
Public 메서드 Close 현재 데이터 연결을 닫습니다. (DataConnectionSupport.Close()을(를) 재정의함)
Protected 메서드 CommitTransactionCore 트랜잭션을 커밋합니다.
Protected 메서드 CreateParameterCore 새로운 데이터 매개 변수를 인터페이스로 만듭니다 IVsDataProvider.
Protected 메서드 CreateParameterFrom 새로운 데이터 매개 변수를 인터페이스로 만듭니다 IVsDataProvider, 매개 변수에 지정 된 데이터의 복사본을 사용 하 여.
Protected 메서드 CreateService 서비스가 지정 된 인터페이스 형식에 따라 새 서비스 개체를 만듭니다. (DataConnectionSupport.CreateService(IServiceContainer, Type)을(를) 재정의함)
Protected 메서드 DeriveParametersCore 지정 된 명령에 지정할 수 있는 매개 변수를 파생 됩니다.
Protected 메서드 DeriveParametersOn 주어진된 명령에서 매개 변수를 파생 하도록 재정의 하십시오입니다.
Protected 메서드 DeriveSchemaCore 레이아웃 블록에 지정 된 데이터 읽기 및 항목을 나타내는 지정 된 명령에서 반환 된 스키마를 파생 시킵니다.
Public 메서드 Dispose() 데이터 연결에서 보유 한 리소스를 모두 해제 합니다. (DataConnectionSupport에서 상속됨)
Protected 메서드 Dispose(Boolean) 데이터 연결에서 보유 한 리소스를 모두 해제 합니다. (DataConnectionSupport.Dispose(Boolean)을(를) 재정의함)
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지 여부를 확인합니다. (Object에서 상속됨)
Protected 메서드 ExecuteCore 선택적 매개 변수를 가진 지정 된 명령을 실행 하 고 결과를 반환 된 IVsDataReader 개체입니다.
Protected 메서드 ExecuteWithoutResultsCore 선택적 매개 변수를 가진 지정 된 명령을 실행합니다.쿼리 결과 반환 하지 않습니다.
Protected 메서드 Finalize 데이터 연결 지원 개체가 소멸 되 면 데이터 연결에서 보유 한 모든 리소스를 해제 합니다. (DataConnectionSupport에서 상속됨)
Protected 메서드 GetCommand 생성 된 DbCommand 개체에서 지정 된 명령 문자열.
Protected 메서드정적 멤버 GetCommandType 열거형 값에서 변환 DataCommandType 값에 해당 하는 CommandType 열거형입니다.
Public 메서드 GetHashCode 특정 형식에 대한 해시 함수 역할을 합니다. (Object에서 상속됨)
Public 메서드 GetService(Guid) 지정 된 서비스 GUID와 서비스를 검색합니다. (ServiceProvider에서 상속됨)
Public 메서드 GetService(Type) 지정 된 형식의 서비스를 검색합니다. (ServiceProvider에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 Initialize 지정 된 공급자를 사용 하 여 지정한 ADO.NET 연결을 초기화 합니다. (DataConnectionSupport.Initialize(Object)을(를) 재정의함)
Protected 메서드 MemberwiseClone 현재 Object의 단순 복사본을 만듭니다. (Object에서 상속됨)
Protected 메서드 OnMessageReceived MessageReceived 이벤트를 처리합니다. (DataConnectionSupport에서 상속됨)
Protected 메서드 OnSiteChanged SiteChanged 이벤트를 발생시킵니다. (DataSiteableServiceProvider<T>에서 상속됨)
Protected 메서드 OnStateChanged StateChanged 이벤트를 처리합니다. (DataConnectionSupport에서 상속됨)
Public 메서드 Open 지정 된 데이터 연결을 엽니다. (DataConnectionSupport.Open(Boolean)을(를) 재정의함)
Protected 메서드 PrepareCore 실행 될 데이터 원본에 지정한 명령을 준비 합니다. 명령은 다양 한 매개 변수를 여러 번 실행할 수 있습니다.
Public 메서드 RemoveService(Type) 내부 서비스 컬렉션에서 지정 된 서비스 제거 (ServiceProvider에서 상속됨)
Public 메서드 RemoveService(Type, Boolean) 지정 된 서비스에서 내부 서비스 컬렉션 또는 부모 서비스 컨테이너에서 제거합니다. (ServiceProvider에서 상속됨)
Protected 메서드 RollbackTransactionCore 또는 voids 트랜잭션이 롤백되고 새 현재 트랜잭션 수준을 반환 합니다.
Protected 메서드정적 멤버 SetParameters 새 매개 변수를 추가 지정 된 DbCommand 명령에서 지정한 배열의 IVsDataParameter 매개 변수.
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)

위쪽

이벤트

  이름 설명
Public 이벤트 MessageReceived 데이터 소스에서 메시지를 받을 때 발생 합니다. (DataConnectionSupport에서 상속됨)
Public 이벤트 SiteChanged 사이트 변경 될 때 발생 합니다. (DataSiteableServiceProvider<T>에서 상속됨)
Public 이벤트 StateChanged 데이터 연결의 상태가 변경 될 때 발생 합니다. (DataConnectionSupport에서 상속됨)

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 IServiceProvider.QueryService 수행의 구현을 통해 노출 된 서비스에 대 한 팩터리로 IServiceProvider. (ServiceProvider에서 상속됨)
명시적 인터페이스 구현Private 속성 IVsDataSiteableObject<IVsDataProvider>.Site 가져옵니다의 IVsDataProvider 연결 지원 현재 인스턴스가 현재 사용 중인 개체입니다.

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.Data.Framework.AdoDotNet 네임스페이스