AdoDotNetConnectionSupport.Open(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens the specified data connection.
public:
override bool Open(bool doPromptCheck);
public override bool Open (bool doPromptCheck);
override this.Open : bool -> bool
Public Overrides Function Open (doPromptCheck As Boolean) As Boolean
Parameters
- doPromptCheck
- Boolean
Indicates whether the call to the Open method should return false for specified errors that relate to missing connection information.
Returns
true if the connection opened successfully and does not require a prompt, false if the connection is missing required connection information and a prompt should be displayed to obtain the missing information form the user. You should return false only when a provider has implemented the DataConnectionPromptDialog class.