Share via


IVsDataConnectionUIProperties 介面

定義

表示在連接 UI 的內容中操作資料連接屬性的能力 (,例如數據連線對話框) 。

public interface class IVsDataConnectionUIProperties : Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataConnectionProperties, 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 interface IVsDataConnectionUIProperties : Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionProperties, 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 IVsDataConnectionUIProperties = interface
    interface IVsDataConnectionProperties
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface ICustomTypeDescriptor
    interface INotifyPropertyChanged
Public Interface IVsDataConnectionUIProperties
Implements ICollection(Of KeyValuePair(Of String, Object)), ICustomTypeDescriptor, IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), INotifyPropertyChanged, IVsDataConnectionProperties
衍生
實作

屬性

IsComplete

由類別實作時,取得值,指出指定的 連接字串 是否完成。

IsExtensible

由類別實作時,取得或設定布爾值,指出 DDEX 提供者連接屬性是否可延伸。

方法

Add(String, Type, Object)

由類別實作時,將新的屬性加入至目前的連接屬性集合。

(繼承來源 IVsDataConnectionProperties)
GetSynonyms(String)

由類別實作時,擷取指定屬性的同義字數位列清單。

IsSensitive(String)

由類別實作時,指出屬性是否包含敏感性資訊。

Parse(String)

由類別實作時,將 連接字串的元件反組譯成目前 DataConnectionProperties 實例中的一組屬性。

(繼承來源 IVsDataConnectionProperties)
Reset()

由類別實作時,會將連接屬性的值重設為初始狀態。

(繼承來源 IVsDataConnectionProperties)
Reset(String)

由類別實作時,從目前的數據連接屬性集中移除指定的屬性。

(繼承來源 IVsDataConnectionProperties)
ToDisplayString()

由類別實作時,擷取目前數據集之數據連線屬性的字串表示,適用於螢幕上顯示。

ToSafeString()

由類別實作時,擷取目前數據集之數據連接屬性的字串表示,該屬性會排除不應保存的敏感性屬性或屬性。

(繼承來源 IVsDataConnectionProperties)
ToString()

由類別實作時,擷取目前連接屬性的預設字串表示。

(繼承來源 IVsDataConnectionProperties)

擴充方法

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

將一個字典內容新增至另一個字典

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

依指定的索引鍵取得值。

EmptyIfNull<T>(IEnumerable<T>)

如果不是 Null,則傳回這個列舉。 如果是 null,則傳回空列舉。

適用於