ISqlServerObjectExplorerService.OpenQuery Method (SqlConnectionStringBuilder)
Creates a new connected editor window.
Namespace: Microsoft.VisualStudio.Data.Tools
Assembly: Microsoft.VisualStudio.Data.Tools.Design (in Microsoft.VisualStudio.Data.Tools.Design.dll)
Syntax
void OpenQuery(
SqlConnectionStringBuilder connection
)
void OpenQuery(
SqlConnectionStringBuilder^ connection
)
abstract OpenQuery :
connection:SqlConnectionStringBuilder -> unit
Sub OpenQuery (
connection As SqlConnectionStringBuilder
)
Parameters
connection
Type: System.Data.SqlClient.SqlConnectionStringBuilderThe connection information for the new query window.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If connection is null. |
InvalidOperationException | If there was a problem adding the connection or the SQL Server version is unsupported. |
See Also
ISqlServerObjectExplorerService Interface
Microsoft.VisualStudio.Data.Tools Namespace
Return to top