共用方式為


IVsDataConnectionProperties 介面

定義

表示剖析、建置和產生數據連接字串的能力。

public interface class 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 ^>>
public interface 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>>
type IVsDataConnectionProperties = interface
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
Public Interface IVsDataConnectionProperties
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))
衍生
實作

方法

Add(String, Type, Object)

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

Parse(String)

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

Reset()

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

Reset(String)

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

ToSafeString()

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

ToString()

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

擴充方法

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

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

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

依指定的索引鍵取得值。

EmptyIfNull<T>(IEnumerable<T>)

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

適用於