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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.