다음을 통해 공유


IVsDataExplorerConnectionManager 인터페이스

추가, 제거 또는 찾기 등 연결 서버 탐색기에서 데이터 연결에 대 한 일반적인 작업을 수행할 수가 있습니다.

이 API는 CLS 규격이 아닙니다. 

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

구문

‘선언
<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerConnectionManager
[GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerConnectionManager
[GuidAttribute(L"8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerConnectionManager
[<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")>]
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerConnectionManager =  interface end
public interface IVsDataExplorerConnectionManager

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

속성

  이름 설명
Public 속성 Connections 모든 기존 데이터 연결을 포함 하는 키/값 쌍의 컬렉션을 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 AddConnection 지정 된 속성에 새 데이터 연결을 추가합니다.
Public 메서드 FindConnection 지정 된 속성과 일치 하는 기존 데이터 연결에 대 한 검색 합니다.
Public 메서드 PromptAndAddConnection 사용자 연결 대화 상자와 서버 탐색기에서 새 연결을 추가 하 라는 메시지가 나타납니다.
Public 메서드 RemoveConnection 서버 탐색기에서 기존 데이터 연결을 제거합니다.
Public 메서드 SelectConnection 서버 탐색기에서 지정한 데이터 연결을 선택합니다.

위쪽

설명

이 인터페이스는 기본 제공 DDEX 서비스로 구현 됩니다.

참고 항목

참조

Microsoft.VisualStudio.Data.Services 네임스페이스