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 | |
|---|---|---|
![]() |
DataConnectionSupport | Class constructor. Instantiates a nonparameterized instance of the DataConnectionSupport class. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Close | Closes the specified connection. |
![]() |
Dispose | Overloaded. Closes the data connection and releases resources. |
![]() |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
Finalize | (Overrides Object.Finalize().) |
![]() |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetService | Overloaded. |
![]() |
GetServiceImpl | Overloaded. |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
Initialize | Initializes the specified connection, optionally from an existing data provider object. |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnSiteChanged | Raises the SiteChanged event. (Inherited from ServiceProviderWithSite.) |
![]() |
Open | Opens the specified connection. |
![]() |
RaiseMessageReceived | Raises the MessageReceivedevent on the enclosing DataConnection instance. |
![]() |
RaiseStateChanged | Raises the state changed event on the enclosing DataConnection instance. |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
ConnectionString | Retrieves or sets a string representation of information required to establish a given data source connection. |
![]() |
ConnectionTimeout | Retrieves or sets the amount of time, in seconds, to wait to establish a connection before terminating the attempt and generating a timeout error. |
![]() |
ProviderObject | Retrieves the underlying data provider object for the specified connection. |
![]() |
ServiceTypes | 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.) |
![]() |
Site | Retrieves or sets the site object instance. (Inherited from ServiceProviderWithSite.) |
![]() |
State | Retrieves the state of the data connection. |
Top
Events
| Name | Description | |
|---|---|---|
![]() |
SiteChanged | Event raised when the Site property has changed. (Inherited from ServiceProviderWithSite.) |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IObjectWithSite.GetSite | Retrieves the last site set using the IObjectWithSite.SetSite method. If there is no known site, an exception is thrown. (Inherited from ServiceProviderWithSite.) |
![]() ![]() |
IServiceProvider.QueryService | Performs as a factory for services that are exposed through an implementation of IServiceProvider. (Inherited from ServiceProvider.) |
![]() ![]() |
IObjectWithSite.SetSite | Provides a site's IUnknown pointer to a given object. (Inherited from ServiceProviderWithSite.) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)