Partager via


AdoDotNetConnectionSupport.Open(Boolean) Method

Definition

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.

Applies to