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
Boolean indication whether the call to the Open method should return false for specified errors that relate to missing connection information.
Returns
Returns true if the connection was opened successfully and does not require a prompt. Returns 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.