Share via


IVsDataConnectionProperties Interface

Definition

Represents the ability to parse, build and generate data connection strings.

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))
Derived
Implements

Methods

Add(String, Type, Object)

When implemented by a class, adds a new property to the current connection properties collection.

Parse(String)

When implemented by a class, disassembles the components of a connection string into a set of properties in the current DataConnectionProperties instance.

Reset()

When implemented by a class, resets the values of connection properties to an initial state.

Reset(String)

When implemented by a class, removes the specified property from the current set of data connection properties.

ToSafeString()

When implemented by a class, retrieves a string representation of the current set of data connection properties that excludes sensitive properties or properties that should not be persisted.

ToString()

When implemented by a class, retrieves the default string representation of the current connection properties.

Extension Methods

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

Add one dictionary content to the another dictionary

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

Gets a value by the given key.

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to