共用方式為


DataExplorerConnectionManager.PromptAndAddConnection Method

Definition

Prompts the user for, and adds, a new DataExplorerConnection object instance.

public:
 abstract Microsoft::VisualStudio::Data::DataExplorerConnection ^ PromptAndAddConnection();
public abstract Microsoft.VisualStudio.Data.DataExplorerConnection PromptAndAddConnection ();
abstract member PromptAndAddConnection : unit -> Microsoft.VisualStudio.Data.DataExplorerConnection
Public MustOverride Function PromptAndAddConnection () As DataExplorerConnection

Returns

Returns a DataExplorerConnection object instance representing a new data connection (or existing connection if a connection with equivalent settings already exists).

Applies to