IVsDataConnection Members
Include Protected Members
Include Inherited Members
Represents the interface for a data connection.
The IVsDataConnection type exposes the following members.
Methods
Name
Description
Overloaded. Creates a copy of the current data connection.
Closes the current data connection.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Determines whether the current data connection is connected, and, if not, opens it.
Indicates whether the given data connection information, as represented by the provider GUID and a connection string, is equivalent to the current instance of the data connection.
Overloaded. Retrieves the underlying locked data provider that supports the current data connection.
Gets the service object of the specified type. (Inherited from IServiceProvider.)
Overloaded. Locks the current data connection.
Opens the current data connection.
Releases an existing exclusive access proxy.
Unlocks the current data connection.
Unlocks the underlying provider object for the current data connection.
Top
Properties
Name
Description
Gets or sets the amount of time to wait to establish a connection before terminating the attempt and generating a time-out error.
Gets a value indicating whether the current thread has a lock on the data connection object.
Gets the connection string in which sensitive information, if present, is formatted for secure display.
Gets an encrypted version of the connection string.
Gets a value indicating whether the current data connection is locked.
Gets a value indicating whether the data connection supports automatic locking.
Gets the GUID of the data provider.
Gets the connection string, excluding sensitive information.
Gets the GUID of the data source for the current data connection, if any.
Gets the current state of the data connection.
Top
Events
Name
Description
Occurs when a message is received from the data source. (Inherited from IVsDataConnectionEvents.)
Occurs when the state of the data connection is changed. (Inherited from IVsDataConnectionEvents.)
Top