DataConnectionSupport Members
Include Protected Members
Include Inherited Members
Provides properties and methods that enable you to work directly with connections to a data source.
The DataConnectionSupport type exposes the following members.
Constructors
Name
Description
Initializes a new instance of the DataConnectionSupport class.
Top
Methods
Name
Description
Overloaded. Adds the specified service to the internal collection of services.
Closes the specified connection.
Creates a new service object, specifying the interface service type.
Overloaded. Releases all resources held by the data connection.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Releases all resources held by the data connection when the data connection support object is destroyed. (Overrides Object.Finalize().)
Serves as a hash function for a particular type. (Inherited from Object.)
Overloaded. Retrieves a service.
Gets the type of the current instance. (Inherited from Object.)
Initializes the specified connection, optionally from an existing data provider object.
Creates a shallow copy of the current Object. (Inherited from Object.)
Handles the MessageReceived event.
Raises the SiteChanged event. (Inherited from DataSiteableServiceProvider<T>.)
Handles the StateChanged event.
Opens the specified data connection.
Overloaded. Removes the specified service.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Gets or sets a string representation of information required to establish a specified data source connection.
Gets or sets the amount of time to wait when establishing a connection before terminating the attempt and generating a timeout error.
Gets the current instance of the parent service provider. (Inherited from ServiceProvider.)
Gets the underlying data provider, which supports the current data connection.
Gets the global Visual Studio service provider.
Gets or sets the site. (Inherited from DataSiteableServiceProvider<T>.)
Gets the state of the data connection.
Top
Events
Name
Description
Occurs when a message is received from the data source.
Occurs when the site has changed. (Inherited from DataSiteableServiceProvider<T>.)
Occurs when the state of the data connection has changed.
Top
Explicit Interface Implementations
Name
Description
Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider.)
Top