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
Class constructor. Instantiates a nonparameterized instance of the DataConnectionSupport class.
Top
Methods
Name
Description
Closes the specified connection.
Overloaded. Closes the data connection and releases resources.
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalizes the connection. (Overrides Object.Finalize().)
Serves as a hash function for a particular type. (Inherited from Object.)
Overloaded.
Overloaded. Allows you to obtain implementation services.
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.)
Raises the SiteChanged event. (Inherited from ServiceProviderWithSite.)
Opens the specified connection.
Raises the MessageReceivedevent on the enclosing DataConnection instance.
Raises the state changed event on the enclosing DataConnection instance.
Returns a string that represents the current object. (Inherited from Object.)
Top
Properties
Name
Description
Retrieves or sets a string representation of information required to establish a given data source connection.
Retrieves or sets the amount of time, in seconds, to wait to establish a connection before terminating the attempt and generating a timeout error.
Retrieves the underlying data provider object for the specified connection.
Retrieves a list of service types used to convert the unmanaged QueryService method call, in which a service GUID is specified, into a managed IServiceProvider.GetService method call, in which a managed type is specified. (Inherited from ServiceProvider.)
Retrieves or sets the site object instance. (Inherited from ServiceProviderWithSite.)
Retrieves the state of the data connection.
Top
Events
Name
Description
Event raised when the Site property has changed. (Inherited from ServiceProviderWithSite.)
Top
Explicit Interface Implementations
Name
Description
Retrieves the last site set using the IObjectWithSite.SetSite method. If there is no known site, an exception is thrown. (Inherited from ServiceProviderWithSite.)
Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider.)
Provides a site's IUnknown pointer to a given object. (Inherited from ServiceProviderWithSite.)
Top