Share via


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

現在の接続プロパティ インスタンスの基になる 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のクラス インスタンスで設定されている一連の接続プロパティに接続文字列のコンポーネントを逆アセンブルします。 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)

1 つの辞書コンテンツを別の辞書に追加する

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

指定したキーによって値を取得します。

EmptyIfNull<T>(IEnumerable<T>)

null でない場合は、この列挙体を返します。 null の場合は、空の列挙を返します。

適用対象