DataPackage.ShowOrCreateSqlScriptToolWindow, méthode
Affiche la fenêtre Outil de script Transact-SQL, en la créant si nécessaire.
Espace de noms : Microsoft.VisualStudio.Data.Schema.Package.UI
Assembly : Microsoft.VisualStudio.Data.Schema.Package (dans Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntaxe
'Déclaration
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
Paramètres
- showAndActivate
Type : System.Boolean
Si ce paramètre a la valeur True, la fenêtre apparaît et reçoit le focus.
Valeur de retour
Type : Microsoft.VisualStudio.Shell.ToolWindowPane
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.VisualStudio.Data.Schema.Package.UI, espace de noms