다음을 통해 공유


AdoDotNetConnectionProperties 클래스

구현 된 IVsDataConnectionProperties ADO.NET 연결 문자열 작성기 기본 클래스를 사용 하 여 클래스 (DbConnectionStringBuilder).

상속 계층 구조

Object
  Microsoft.VisualStudio.Data.Framework.DataSiteableObject<IVsDataProvider>
    Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetConnectionProperties

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

구문

‘선언
Public Class AdoDotNetConnectionProperties _
    Inherits DataSiteableObject(Of IVsDataProvider) _
    Implements IVsDataConnectionProperties, IDictionary(Of String, Object),  _
    ICollection(Of KeyValuePair(Of String, Object)), IEnumerable(Of KeyValuePair(Of String, Object)),  _
    IEnumerable, IVsDataConnectionUIProperties, ICustomTypeDescriptor, INotifyPropertyChanged
public class AdoDotNetConnectionProperties : DataSiteableObject<IVsDataProvider>, 
    IVsDataConnectionProperties, IDictionary<string, Object>, ICollection<KeyValuePair<string, Object>>, 
    IEnumerable<KeyValuePair<string, Object>>, IEnumerable, IVsDataConnectionUIProperties, 
    ICustomTypeDescriptor, INotifyPropertyChanged
public ref class AdoDotNetConnectionProperties : public DataSiteableObject<IVsDataProvider^>, 
    IVsDataConnectionProperties, IDictionary<String^, Object^>, ICollection<KeyValuePair<String^, Object^>>, 
    IEnumerable<KeyValuePair<String^, Object^>>, IEnumerable, 
    IVsDataConnectionUIProperties, ICustomTypeDescriptor, INotifyPropertyChanged
type AdoDotNetConnectionProperties =  
    class 
        inherit DataSiteableObject<IVsDataProvider>
        interface IVsDataConnectionProperties 
        interface IDictionary<string, Object>
        interface ICollection<KeyValuePair<string, Object>>
        interface IEnumerable<KeyValuePair<string, Object>>
        interface IEnumerable 
        interface IVsDataConnectionUIProperties 
        interface ICustomTypeDescriptor 
        interface INotifyPropertyChanged 
    end
public class AdoDotNetConnectionProperties extends DataSiteableObject<IVsDataProvider> implements IVsDataConnectionProperties, IDictionary<String, Object>, ICollection<KeyValuePair<String, Object>>, IEnumerable<KeyValuePair<String, Object>>, IEnumerable, IVsDataConnectionUIProperties, ICustomTypeDescriptor, INotifyPropertyChanged

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

생성자

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

위쪽

속성

  이름 설명
Protected 속성 ConnectionStringBuilder 내부 가져옵니다 ADO.NET 연결 속성 현재 인스턴스에 대 한 연결 문자열 작성기 개체입니다.
Public 속성 Count 연결 속성을 가져옵니다.
Public 속성 IsComplete 연결 문자열에 대 한 충분 한 연결 속성이 설정 되어 있는지 여부를 나타내는 값을 가져옵니다.
Public 속성 IsExtensible DDEX 공급자 연결 속성은 확장할 수 있는지 여부를 나타내는 값을 가져옵니다.
Public 속성 Item DDEX 공급자에 지정 된 속성의 값을 가져오거나 설정 합니다.발생의 PropertyChanged 이벤트의 속성을 설정 합니다.
Public 속성 Keys 데이터 연결 문자열에 포함 된 모든 속성을 가져옵니다.
Public 속성 Site 사이트 개체를 가져오거나 설정 합니다. (DataSiteableObject<T>에서 상속됨)
Public 속성 Values 연결 문자열의 값을 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 Add(String, Object) 현재 연결 속성 컬렉션에 새 속성을 추가 합니다.PropertyChanged 이벤트를 발생시킵니다.
Public 메서드 Add(String, Type, Object) 현재 연결 속성 컬렉션에 새 속성을 추가 합니다.
Public 메서드 Contains 지정 된 속성 이름 및 값 쌍 현재 연결 속성 집합의 멤버 인지 여부를 테스트 합니다.
Public 메서드 ContainsKey 지정된 된 속성 이름 현재 연결 속성 집합의 멤버 인지 여부를 테스트 합니다.
Public 메서드 CopyTo 연결 속성 집합을 지정 된 배열 인덱스에서 시작 하 여 배열에 복사 합니다.
Public 메서드 Equals 지정한 개체와 현재 개체가 같은지를 확인합니다. (Object에서 상속됨)
Protected 메서드 Finalize 가비지 수집기가 회수하기 전에 개체가 리소스를 해제하고 다른 정리 작업을 수행할 수 있게 합니다. (Object에서 상속됨)
Public 메서드 GetHashCode 기본 해시 함수로 작동합니다. (Object에서 상속됨)
Public 메서드 GetSynonyms 지정 된 데이터 연결 속성에 대 한 동의어 배열 목록을 검색합니다.
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 IsSensitive 반환 된 Boolean 지정된 된 속성에 중요 한 정보가 있는지 여부를 나타내는 값입니다.
Protected 메서드 MemberwiseClone 현재 Object의 부분 복사본을 만듭니다. (Object에서 상속됨)
Protected 메서드 OnPropertyChanged 발생 하면 PropertyChanged 데이터 연결 문자열에 속성이 변경 될 때 이벤트.
Protected 메서드 OnSiteChanged 사이트가 변경 되 면 이벤트가 발생 합니다. (DataSiteableObject<T>.OnSiteChanged(EventArgs)을(를) 재정의함)
Public 메서드 Parse 현재에서 설정 된 대로 연결 문자열의 구성 요소 연결 속성의 집합으로 분해 AdoDotNetConnectionProperties 클래스 인스턴스.PropertyChanged 이벤트를 발생시킵니다.
Public 메서드 Remove 현재 연결 속성 컬렉션에서 속성을 제거 합니다.
Public 메서드 Reset() 연결 속성의 초기 값을 다시 설정 하 고 발생 된 PropertyChanged 이벤트입니다.
Public 메서드 Reset(String) 연결 문자열에서 지정된 된 속성을 제거 하 고 발생 된 PropertyChanged 이벤트입니다.
Public 메서드 ToDisplayString 디스플레이 현재 화면에 적합 하 게 되는 데이터 연결 속성 집합의 문자열 표현을 검색 합니다.
Public 메서드 ToSafeString 데이터 연결 속성을 serialize 해야 하는 중요 한 속성을 제외한 현재 집합의 문자열 표현을 반환 합니다.
Public 메서드 ToString 현재 데이터 연결 속성 집합의 문자열 표현을 반환합니다. (Object.ToString을(를) 재정의함)
Public 메서드 TryGetValue 제공된 된 키에.NET Framework 연결 문자열 작성기 기본 클래스에서이 메서드를 호출 하 여 해당 값을 검색 (DbConnectionStringBuilder).

위쪽

이벤트

  이름 설명
Public 이벤트 PropertyChanged 연결 속성에 대 한 변경에서 발생합니다.
Public 이벤트 SiteChanged Site 속성이 변경될 때 발생합니다. (DataSiteableObject<T>에서 상속됨)

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 ICollection<KeyValuePair<String, Object>>.Add 현재 연결 속성 컬렉션에 새 속성을 추가 합니다.PropertyChanged 이벤트를 발생시킵니다.
명시적 인터페이스 구현Private 메서드 ICollection<KeyValuePair<String, Object>>.Clear 지정 된 요소를 모두 제거 ICollection 인스턴스.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetAttributes 지정된 된 개체에 대 한 사용자 지정 특성의 컬렉션을 검색 합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetClassName 지정된 된 개체의 클래스 이름을 검색합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetComponentName 지정된 된 개체의 이름을 검색합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetConverter 지정된 된 개체에 대 한 형식 변환기를 검색합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetDefaultEvent 지정된 된 개체에 대 한 기본 이벤트를 검색 합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetDefaultProperty 지정된 된 개체의 기본 속성을 검색합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetEditor 이 개체에 대해 지정 된 형식의 편집기를 가져옵니다.
명시적 인터페이스 구현Private 메서드 IEnumerable<KeyValuePair<String, Object>>.GetEnumerator 있는 경우 모든 알려진된 연결 속성 및 해당 값에 대해 열거 하는 열거자를 검색 합니다.
명시적 인터페이스 구현Private 메서드 IEnumerable.GetEnumerator 있는 경우 모든 알려진된 연결 속성 및 해당 값에 대해 열거 하는 열거자를 검색 합니다.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetEvents() 이 멤버에 대한 설명은 GetEvents를 참조하십시오.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetEvents(array<Attribute[]) 이 멤버에 대한 설명은 GetEvents를 참조하십시오.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetProperties() 이 멤버에 대한 설명은 GetProperties를 참조하십시오.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetProperties(array<Attribute[]) 이 멤버에 대한 설명은 GetProperties를 참조하십시오.
명시적 인터페이스 구현Private 메서드 ICustomTypeDescriptor.GetPropertyOwner 이 멤버에 대한 설명은 GetPropertyOwner를 참조하십시오.
명시적 인터페이스 구현Private 속성 ICollection<KeyValuePair<String, Object>>.IsReadOnly IDictionary 인스턴스가 읽기 전용인지 여부를 나타내는 값을 가져옵니다.
명시적 인터페이스 구현Private 메서드 ICollection<KeyValuePair<String, Object>>.Remove 지정 된 속성 이름 및 값 쌍 현재 연결 속성 집합의 멤버 인지 여부를 테스트 합니다.

위쪽

설명

대신 ADO.NET 기반 DDEX 공급자 열거 개체를 사용자 지정 해야 합니다. 그러나이 클래스는 기본 클래스를 확장 하는 시나리오에 추가 또는 수정 된 열거 기능 Visual Studio 내에서.

이 클래스에 공용 메서드는 대부분 기본 클래스에서 재정의 (IVsDataConnectionProperties)이이 구현 구문 분석 및 작성 합니다; 같은 작업에 대 한 기본 클래스 중 하나에 의존 하지 않습니다 때문에 대신, 일반적으로 위임 하는 연결 문자열 작성기 개체에 해당 하는 호출.

스레드로부터의 안전성

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

참고 항목

참조

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