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
- 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.