DataConnectionProperties Members
Include Protected Members
Include Inherited Members
Provides support for the parsing and formatting of connection strings containing these properties, as well as for strongly typed property storage, custom attributes, and synonyms.
The DataConnectionProperties type exposes the following members.
Constructors
Name
Description
Overloaded. Class constructor. Instantiates a nonparameterized instance of the DataConnectionProperties class.
Top
Methods
Name
Description
Adds a new property to the current connection properties collection.
Overloaded. Adds a property to the set of connection properties.
Tests whether a specified property is a member of the current set of connection properties.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Retrieves a Boolean value indicating whether the current instance of the DataConnectionProperties class is equivalent to another DataConnectionProperties instance.
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Retrieves an array of property names representing the set of "basic" properties known by the current DataConnectionProperties instance.
Retrieves an enumerator that enumerates over all the known connection properties and their values, if any.
Serves as a hash function for a particular type. (Inherited from Object.)
Formats a property name for placement in a connection string.
Overloaded. Retrieves a set of connection properties for the specified DDEX Provider.
Retrieves the descriptor of a property with the specified property name.
Retrieves an array list of synonyms for a specified property.
Gets the type of the current instance. (Inherited from Object.)
Formats a property value for placement in a connection string.
Initializes the current DataConnectionProperties instance to its default state, then sets each property in the specified dictionary.
Initializes the set of natively recognized properties for the current DataConnectionProperties instance.
Initializes the set of synonyms available for each natively recognized property in the current DataConnectionProperties instance.
Initializes the value of a specified connection property.
Initializes values for a specified set of properties using a dictionary of name/value pairs.
Indicates whether a property contains sensitive information.
Creates a shallow copy of the current Object. (Inherited from Object.)
Modifies an existing property of which the current DataConnectionProperties instance is natively aware.
Raises the PropertyChanged event.
Disassembles the components of a connection string into a set of properties in the current DataConnectionProperties instance.
Reads a property name from a connection string starting at a specified index, then updates the index to point to a position immediately following the property name.
Reads a property value from a connection string starting at a specified index, converts it to the correct type, and updates the index to point to a position following the property name.
Removes a property from the current connection property collection.
Removes a natively recognized property.
Overloaded. Resets the values of connection properties to an initial state.
Attempts to resolves a synonym for the PropertyDescriptor associated with a base property by returning the base property descriptor.
Sets a list of strings as synonyms of a specified base property name.
Indicates whether a property should be persisted when building a connection string.
Tests to assure that the current set of connection properties will successfully open a connection.
Retrieves a string representation of the current set of data connection properties that are suitable for on-screen display.
Retrieves a string representation of the current set of data connection properties for this instance.
Retrieves a full string representation of the current connection properties. (Overrides Object.ToString().)
Top
Properties
Name
Description
Retrieves a Boolean value indicating whether a given connection string is complete.
Retrieves or sets a Boolean value indicating whether the DDEX Provider connection properties are extensible.
Retrieves or sets a value for a specified property on the DDEX Provider.
Retrieves a collection of property names specifying a reasonable (or necessary) order for the properties when represented in string form.
Top
Events
Name
Description
Event that fires on the occurrence of a change to a connection property.
Top
Explicit Interface Implementations
Name
Description
Adds an element as a key/value pair to the specified IDictionary.
Removes all elements from the specified IDictionary.
Determines whether the IDictionary contains an element with the specified key.
Copies the set of connection properties to an array, starting at the specified array index.
Retrieves the number of elements contained in the ICollection.
ICustomTypeDescriptor.GetAttributes
Retrieves a collection of custom attributes for the specified object.
ICustomTypeDescriptor.GetClassName
Retrieves the class name of the specified object.
ICustomTypeDescriptor.GetComponentName
Retrieves the name of the specified object.
ICustomTypeDescriptor.GetConverter
Retrieves a type converter for the specified object.
ICustomTypeDescriptor.GetDefaultEvent
Retrieves the default event for the specified object.
ICustomTypeDescriptor.GetDefaultProperty
Retrieves the default property for the specified object.
ICustomTypeDescriptor.GetEditor
Retrieves an editor of the specified type for this object.
Retrieves an IDictionaryEnumerator for the IDictionary.
Retrieves an enumerator that is able to iterate through the connection properties collection.
Overloaded. Retrieves the events for this instance of a component.
Overloaded. Retrieves the properties for this instance of a component.
ICustomTypeDescriptor.GetPropertyOwner
Retrieves an object that contains the property described by the specified property descriptor.
Retrieves a Boolean value indicating whether the specified IDictionary has a fixed size.
Retrieves a Boolean indicating whether the IDictionary is read-only.
Retrieves a value that indicates whether access to the connection properties collection is synchronized (thread safe).
Retrieves an item, or element, with the specified key.
Retrieves an ICollection containing the keys for the IDictionary.
IDataConnectionProperties.PropertyChanged
Event that fires on the occurrence of a change to a connection property.
Removes the element with the specified key from the IDictionary.
Retrieves an object that can be used to synchronize access to the connection properties collection.
Retrieves an ICollection containing the values in the specified IDictionary.
Top