AdoDotNetConnectionProperties 클래스

정의

ADO .NET DbConnectionStringBuilder 개체를 사용하여 IVsDataConnectionProperties 및 IVsDataConnectionUIProperties 인터페이스의 구현을 나타냅니다.

public ref class AdoDotNetConnectionProperties : Microsoft::VisualStudio::Data::Framework::DataSiteableObject<Microsoft::VisualStudio::Data::Core::IVsDataProvider ^>, Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataConnectionUIProperties, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::ComponentModel::ICustomTypeDescriptor, System::ComponentModel::INotifyPropertyChanged
public class AdoDotNetConnectionProperties : Microsoft.VisualStudio.Data.Framework.DataSiteableObject<Microsoft.VisualStudio.Data.Core.IVsDataProvider>, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionUIProperties, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.INotifyPropertyChanged
type AdoDotNetConnectionProperties = class
    inherit DataSiteableObject<IVsDataProvider>
    interface IVsDataConnectionProperties
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IVsDataConnectionUIProperties
    interface ICustomTypeDescriptor
    interface INotifyPropertyChanged
Public Class AdoDotNetConnectionProperties
Inherits DataSiteableObject(Of IVsDataProvider)
Implements ICollection(Of KeyValuePair(Of String, Object)), ICustomTypeDescriptor, IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), INotifyPropertyChanged, IVsDataConnectionUIProperties
상속
AdoDotNetConnectionProperties
구현

생성자

AdoDotNetConnectionProperties()

AdoDotNetConnectionProperties 클래스의 새 인스턴스를 초기화합니다.

속성

ConnectionStringBuilder

현재 연결 속성 instance 대한 기본 ADO.NET 연결 문자열 작성기 개체를 가져옵니다.

Count

연결 속성 수를 가져옵니다.

IsComplete

연결 문자열 대해 충분한 연결 속성이 설정되었는지 여부를 나타내는 값을 가져옵니다.

IsExtensible

DDEX 공급자 연결 속성을 확장할 수 있는지 여부를 나타내는 값을 가져옵니다.

Item[String]

DDEX 공급자에서 지정된 속성의 값을 가져오거나 설정합니다. 속성이 PropertyChanged 설정된 경우 이벤트를 발생합니다.

Keys

데이터 연결 문자열 일부인 모든 속성을 가져옵니다.

Site

개체 사이트를 가져오거나 설정합니다.

(다음에서 상속됨 DataSiteableObject<T>)
Values

연결 문자열 값을 가져옵니다.

메서드

Add(String, Object)

현재 연결 속성 컬렉션에 새 속성을 추가합니다. PropertyChanged 이벤트를 발생시킵니다.

Add(String, Type, Object)

현재 연결 속성 컬렉션에 새 속성을 추가합니다.

Contains(KeyValuePair<String,Object>)

지정된 속성 이름 및 값 쌍이 현재 연결 속성 집합의 멤버인지 여부를 테스트합니다.

ContainsKey(String)

지정된 속성 이름이 현재 연결 속성 집합의 멤버인지 여부를 테스트합니다.

CopyTo(KeyValuePair<String,Object>[], Int32)

지정된 배열 인덱스에서 시작하여 연결 속성 집합을 배열에 복사합니다.

GetSynonyms(String)

지정된 데이터 연결 속성에 대한 동의어의 배열 목록을 검색합니다.

IsSensitive(String)

지정된 속성에 중요한 정보가 포함되어 있는지 여부를 나타내는 부울 값을 반환합니다.

OnPropertyChanged(PropertyChangedEventArgs)

데이터 연결 문자열 속성이 변경되면 이벤트를 발생합니다PropertyChanged.

OnSiteChanged(EventArgs)

사이트가 변경된 경우 이벤트를 발생합니다.

Parse(String)

연결 문자열 구성 요소를 현재 AdoDotNetConnectionProperties 클래스 instance 설정된 연결 속성 집합으로 디스어셈블합니다. PropertyChanged 이벤트를 발생시킵니다.

Remove(String)

현재 연결 속성 컬렉션에서 속성을 제거합니다.

Reset()

연결 속성을 초기 값으로 다시 설정하고 이벤트를 발생합니다 PropertyChanged .

Reset(String)

지정된 속성을 연결 문자열 제거하고 이벤트를 발생합니다PropertyChanged.

ToDisplayString()

화면 표시에 적합한 현재 데이터 연결 속성 집합의 문자열 표현을 검색합니다.

ToSafeString()

직렬화해야 하는 중요한 속성을 제외하고 현재 데이터 연결 속성 집합의 문자열 표현을 반환합니다.

ToString()

현재 데이터 연결 속성 집합의 문자열 표현을 반환합니다.

TryGetValue(String, Object)

.NET Framework 연결 문자열 작성기 기본 클래스(DbConnectionStringBuilder)에서 이 메서드를 호출하여 제공된 키에 해당하는 값을 검색합니다.

이벤트

PropertyChanged

연결 속성에 대한 변경 내용이 발생할 때 발생합니다.

SiteChanged

Site 속성이 변경될 때 발생합니다.

(다음에서 상속됨 DataSiteableObject<T>)

명시적 인터페이스 구현

ICollection<KeyValuePair<String,Object>>.Add(KeyValuePair<String,Object>)

ADO .NET DbConnectionStringBuilder 개체를 사용하여 IVsDataConnectionProperties 및 IVsDataConnectionUIProperties 인터페이스의 구현을 나타냅니다.

ICollection<KeyValuePair<String,Object>>.Clear()

ADO .NET DbConnectionStringBuilder 개체를 사용하여 IVsDataConnectionProperties 및 IVsDataConnectionUIProperties 인터페이스의 구현을 나타냅니다.

ICollection<KeyValuePair<String,Object>>.IsReadOnly

ADO .NET DbConnectionStringBuilder 개체를 사용하여 IVsDataConnectionProperties 및 IVsDataConnectionUIProperties 인터페이스의 구현을 나타냅니다.

ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>)

ADO .NET DbConnectionStringBuilder 개체를 사용하여 IVsDataConnectionProperties 및 IVsDataConnectionUIProperties 인터페이스의 구현을 나타냅니다.

ICustomTypeDescriptor.GetAttributes()

지정된 개체에 대한 사용자 지정 특성 컬렉션을 검색합니다.

ICustomTypeDescriptor.GetClassName()

지정된 개체의 클래스 이름을 검색합니다.

ICustomTypeDescriptor.GetComponentName()

지정된 개체의 이름을 검색합니다.

ICustomTypeDescriptor.GetConverter()

지정된 개체의 형식 변환기를 검색합니다.

ICustomTypeDescriptor.GetDefaultEvent()

지정된 개체의 기본 이벤트를 검색합니다.

ICustomTypeDescriptor.GetDefaultProperty()

지정된 개체의 기본 속성을 검색합니다.

ICustomTypeDescriptor.GetEditor(Type)

이 개체에 대해 지정된 형식의 편집기를 검색합니다.

ICustomTypeDescriptor.GetEvents()

이 멤버에 대한 설명은 GetEvents()를 참조하세요.

ICustomTypeDescriptor.GetEvents(Attribute[])

이 멤버에 대한 설명은 GetEvents()를 참조하세요.

ICustomTypeDescriptor.GetProperties()

이 멤버에 대한 설명은 GetProperties()를 참조하세요.

ICustomTypeDescriptor.GetProperties(Attribute[])

이 멤버에 대한 설명은 GetProperties()를 참조하세요.

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

이 멤버에 대한 설명은 GetPropertyOwner(PropertyDescriptor)를 참조하세요.

IEnumerable.GetEnumerator()

알려진 모든 연결 속성 및 해당 값(있는 경우)을 열거하는 열거자를 검색합니다.

IEnumerable<KeyValuePair<String,Object>>.GetEnumerator()

ADO .NET DbConnectionStringBuilder 개체를 사용하여 IVsDataConnectionProperties 및 IVsDataConnectionUIProperties 인터페이스의 구현을 나타냅니다.

확장 메서드

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

한 사전 콘텐츠를 다른 사전에 추가

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

지정된 키로 값을 가져옵니다.

EmptyIfNull<T>(IEnumerable<T>)

null이 아닌 경우 이 열거형을 반환합니다. null이면 빈 열거형을 반환합니다.

적용 대상