다음을 통해 공유


DataExplorerConnectionManager.PromptAndAddConnection Method

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

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

‘선언
Public MustOverride Function PromptAndAddConnection As DataExplorerConnection
public abstract DataExplorerConnection PromptAndAddConnection()
public:
virtual DataExplorerConnection^ PromptAndAddConnection() abstract
abstract PromptAndAddConnection : unit -> DataExplorerConnection 
public abstract function PromptAndAddConnection() : DataExplorerConnection

Return Value

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

.NET Framework Security

See Also

Reference

DataExplorerConnectionManager Class

Microsoft.VisualStudio.Data Namespace