Share via


DataPackage.ShowOrCreateSqlScriptToolWindow Method

Displays the Transact-SQL Script tool window, creating it if necessary.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Public Function ShowOrCreateSqlScriptToolWindow ( _
    showAndActivate As Boolean _
) As ToolWindowPane
public ToolWindowPane ShowOrCreateSqlScriptToolWindow(
    bool showAndActivate
)
public:
ToolWindowPane^ ShowOrCreateSqlScriptToolWindow(
    bool showAndActivate
)
member ShowOrCreateSqlScriptToolWindow : 
        showAndActivate:bool -> ToolWindowPane 
public function ShowOrCreateSqlScriptToolWindow(
    showAndActivate : boolean
) : ToolWindowPane

Parameters

  • showAndActivate
    Type: System.Boolean
    If true, the window appears and receives focus.

Return Value

Type: Microsoft.VisualStudio.Shell.ToolWindowPane

.NET Framework Security

See Also

Reference

DataPackage Class

Microsoft.VisualStudio.Data.Schema.Package.UI Namespace