IDataConnectionProperties Interface

Definition

Provides a set of methods and properties that enable the Data Connection dialog box to interact with a specified data provider's connection properties.

public interface class IDataConnectionProperties
public interface IDataConnectionProperties
type IDataConnectionProperties = interface
Public Interface IDataConnectionProperties
Derived

Properties

IsComplete

Retrieves a Boolean value indicating whether the current set of connection property values provides sufficient information to open a connection to the data source.

IsExtensible

Retrieves a Boolean value indicating whether the specified set of connection properties is extensible; that is, whether it is possible to add and remove custom properties to the set of connection properties.

Item[String]

Represents a property instance of specified type and value.

Methods

Add(String)

Adds a custom property to the existing set of data connection properties recognized by the data provider.

Contains(String)

Tests whether a given set of connection properties contains a specified property.

Parse(String)

Parses a data connection string that is built from a set of properties into the corresponding set of connection properties.

Remove(String)

Removes a custom property from a specified set of data connection properties.

Reset()

Resets all connection properties and restores the object to its initial state.

Reset(String)

Resets a specified connection property to its initial value.

Test()

Tests whether the current set of connection properties can successfully open a connection.

ToDisplayString()

Retrieves a connection string for on-screen display reflecting the current set of connection properties, minus "sensitive" information that should not be displayed.

ToFullString()

Retrieves the complete connection string representing the current set of connection properties.

Events

PropertyChanged

Event that is raised when a data provider connection property is changed.

Applies to