SqlScriptEditorControl Class

Implements SQL script editing. This class implements all execution options of scripts and handles all requests from the menu toolbars.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.Control
        System.Windows.Forms.ScrollableControl
          System.Windows.Forms.ContainerControl
            System.Windows.Forms.UserControl
              ShellWindowPaneUserControl
                Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptEditorControl
                  Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptAndResultsEditorControl
                    Microsoft.SqlServer.Management.UI.VSIntegration.Editors.SqlScriptEditorControl

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors.VS (in SQLEditors.VS.dll)

Syntax

'Declaration
Public Class SqlScriptEditorControl _
    Inherits ScriptAndResultsEditorControl
'Usage
Dim instance As SqlScriptEditorControl
public class SqlScriptEditorControl : ScriptAndResultsEditorControl
public ref class SqlScriptEditorControl : public ScriptAndResultsEditorControl
type SqlScriptEditorControl =  
    class
        inherit ScriptAndResultsEditorControl
    end
public class SqlScriptEditorControl extends ScriptAndResultsEditorControl

The SqlScriptEditorControl type exposes the following members.

Properties

  Name Description
Public property AccessibilityObject (Inherited from Control.)
Public property AccessibleDefaultActionDescription (Inherited from Control.)
Public property AccessibleDescription (Inherited from Control.)
Public property AccessibleName (Inherited from Control.)
Public property AccessibleRole (Inherited from Control.)
Public property ActiveControl (Inherited from ContainerControl.)
Public property AllowDrop (Inherited from Control.)
Public property Anchor (Inherited from Control.)
Public property AutoScaleDimensions (Inherited from ContainerControl.)
Protected property AutoScaleFactor (Inherited from ContainerControl.)
Public property AutoScaleMode (Inherited from ContainerControl.)
Public property AutoScroll (Inherited from ScrollableControl.)
Public property AutoScrollMargin (Inherited from ScrollableControl.)
Public property AutoScrollMinSize (Inherited from ScrollableControl.)
Public property AutoScrollOffset (Inherited from Control.)
Public property AutoScrollPosition (Inherited from ScrollableControl.)
Public property AutoSize (Inherited from UserControl.)
Public property AutoSizeMode (Inherited from UserControl.)
Public property AutoValidate (Inherited from UserControl.)
Public property BackColor (Inherited from Control.)
Public property BackgroundImage (Inherited from Control.)
Public property BackgroundImageLayout (Inherited from Control.)
Public property BindingContext (Inherited from ContainerControl.)
Public property BorderStyle (Inherited from UserControl.)
Public property Bottom (Inherited from Control.)
Public property Bounds (Inherited from Control.)
Public property BuildAction Build Action property associated with the script. (Inherited from ScriptEditorControl.)
Protected property CanEnableIme (Inherited from ContainerControl.)
Public property CanFocus (Inherited from Control.)
Protected property CanRaiseEvents (Inherited from Control.)
Public property CanSelect (Inherited from Control.)
Public property Capture (Inherited from Control.)
Public property CausesValidation (Inherited from Control.)
Public property ClientRectangle (Inherited from Control.)
Public property ClientSize (Inherited from Control.)
Protected property CmdUIGuid Returns GUID that is associated with toolbars and menu items that should automatically be visible when this document window is active. (Overrides ScriptEditorControl.CmdUIGuid.)
Public property CompanyName (Inherited from Control.)
Public property Connection Returns parameters in the case where script editor has a current connection. (Inherited from ScriptAndResultsEditorControl.)
Public property ConnectionInfoList Gets connection context for the editor. (Inherited from ScriptAndResultsEditorControl.)
Public property Container (Inherited from Component.)
Public property ContainsFocus (Inherited from Control.)
Public property ContextMenu (Inherited from Control.)
Public property ContextMenuStrip (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property Created (Inherited from Control.)
Protected property CreateParams (Inherited from UserControl.)
Public property CurrentAutoScaleDimensions (Inherited from ContainerControl.)
Protected property CurrentDB Gets or sets the database that is current for this script. (Overrides ScriptAndResultsEditorControl.CurrentDB.)
Public property Cursor (Inherited from Control.)
Public property DataBindings (Inherited from Control.)
Protected property DefaultCursor (Inherited from Control.)
Protected property DefaultHelpContext Gets the keyword that is pushed into the dynamic help window by default when this editor is active. (Overrides ScriptEditorControl.DefaultHelpContext.)
Protected property DefaultImeMode (Inherited from Control.)
Protected property DefaultMargin (Inherited from Control.)
Protected property DefaultMaximumSize (Inherited from Control.)
Protected property DefaultMinimumSize (Inherited from Control.)
Protected property DefaultPadding (Inherited from Control.)
Protected property DefaultSize (Inherited from UserControl.)
Protected property DesignMode (Inherited from Component.)
Public property DisplayRectangle (Inherited from ScrollableControl.)
Public property Disposing (Inherited from Control.)
Public property DocData Gets DocData of the editor. By default, returns text buffer that is used for editing script as its document data. (Inherited from ScriptEditorControl.)
Public property Dock (Inherited from Control.)
Public property DockPadding (Inherited from ScrollableControl.)
Protected property DoubleBuffered (Inherited from Control.)
Public property Enabled (Inherited from Control.)
Protected property Events (Inherited from Component.)
Public property Focused (Inherited from Control.)
Public property Font (Inherited from Control.)
Protected property FontHeight (Inherited from Control.)
Public property ForeColor (Inherited from Control.)
Public property Handle (Inherited from Control.)
Public property HasChildren (Inherited from Control.)
Public property Height (Inherited from Control.)
Public property HorizontalScroll (Inherited from ScrollableControl.)
Protected property HScroll (Inherited from ScrollableControl.)
Public property ImeMode (Inherited from Control.)
Protected property ImeModeBase (Inherited from Control.)
Public property InitialFocus Initial focus field. (Inherited from ScriptEditorControl.)
Public property InvokeRequired (Inherited from Control.)
Public property IsAccessible (Inherited from Control.)
Public property IsConnected Gets or sets whether the editor control is connected. (Inherited from ScriptAndResultsEditorControl.)
Protected property IsControlUnderSplitterVisible Gets a Boolean value that specifies how the window will be resized. (Inherited from ScriptAndResultsEditorControl.)
Public property IsDebugging Gets or sets whether the script is being executed. (Inherited from ScriptAndResultsEditorControl.)
Public property IsDisposed (Inherited from Control.)
Protected property IsExecuting Gets or sets whether the script is being executed. (Inherited from ScriptAndResultsEditorControl.)
Protected property IsFrameActive Returns true if frame is currently active. (Inherited from ScriptEditorControl.)
Public property IsHandleCreated (Inherited from Control.)
Public property IsMirrored (Inherited from Control.)
Protected property IsScriptEditorActive Gets a Boolean value that specifies whether the code editor is currently active. (Inherited from ScriptAndResultsEditorControl.)
Public property IsSqlCmdMode Gets or sets the flag that specifies whether SQLCMD mode is set. (Inherited from ScriptAndResultsEditorControl.)
Protected property IsWithNumberOfRowsOnStatusBar Gets a Boolean value that specifies whether the status bar contains a panel for number of fetched rows. (Inherited from ScriptAndResultsEditorControl.)
Protected property LanguageServiceGUID Gets the GUID of the language service that should be specified for the Visual Studio editor with the text of the script. (Overrides ScriptEditorControl.LanguageServiceGUID.)
Public property LayoutEngine (Inherited from Control.)
Public property Left (Inherited from Control.)
Public property Location (Inherited from Control.)
Public property Margin (Inherited from Control.)
Public property MaximumSize (Inherited from Control.)
Public property MinimumSize (Inherited from Control.)
Protected property MyOptions Gets or sets connection options that will be used by this window for execution.
Public property Name (Inherited from Control.)
Protected property NameInPropWindow (Inherited from ShellWindowPaneUserControl.)
Public property Padding (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property ParentForm (Inherited from ContainerControl.)
Public property PreferredSize (Inherited from Control.)
Public property ProductName (Inherited from Control.)
Public property ProductVersion (Inherited from Control.)
Public property RecreatingHandle (Inherited from Control.)
Public property Region (Inherited from Control.)
Protected property RenderRightToLeft Obsolete. (Inherited from Control.)
Protected property ResizeRedraw (Inherited from Control.)
Public property Right (Inherited from Control.)
Public property RightToLeft (Inherited from Control.)
Protected property ScaleChildren (Inherited from Control.)
Protected property ScriptEditorContextMenuID Gets the identifier of the context menu that should be shown when user right clicks on script editor. (Overrides ScriptEditorControl.ScriptEditorContextMenuID.)
Protected property ShowCurrentResultsBelowSplitter Gets a Boolean value that indicates whether current query results are shown below the splitter on the tabs on the same level with the query text. (Overrides ScriptAndResultsEditorControl.ShowCurrentResultsBelowSplitter.)
Protected property ShowFocusCues (Inherited from Control.)
Protected property ShowKeyboardCues (Inherited from Control.)
Public property Site (Inherited from Control.)
Public property Size (Inherited from Control.)
Public property SqlCmdVars Gets or sets a dictionary containing all the variables and their values from sqlcmdvars file in Database projects in Visual Studio. (Inherited from ScriptAndResultsEditorControl.)
Public property StatusBarManager (Inherited from ScriptEditorControl.)
Public property TabIndex (Inherited from Control.)
Public property TabStop (Inherited from Control.)
Public property Tag (Inherited from Control.)
Public property Text (Inherited from UserControl.)
Public property Top (Inherited from Control.)
Public property TopLevelControl (Inherited from Control.)
Public property UseWaitCursor (Inherited from Control.)
Public property VerticalScroll (Inherited from ScrollableControl.)
Public property Visible (Inherited from Control.)
Protected property VScroll (Inherited from ScrollableControl.)
Protected property VsUserContext Returns IVsUserContext associated with this window. (Inherited from ScriptEditorControl.)
Public property Width (Inherited from Control.)
Public property WindowTarget (Inherited from Control.)

Top

Methods

  Name Description
Protected method AccessibilityNotifyClients(AccessibleEvents, Int32) (Inherited from Control.)
Protected method AccessibilityNotifyClients(AccessibleEvents, Int32, Int32) (Inherited from Control.)
Protected method AdjustFormScrollbars (Inherited from ContainerControl.)
Public method BeginInvoke(Delegate) (Inherited from Control.)
Public method BeginInvoke(Delegate, array<Object[]) (Inherited from Control.)
Public method BringToFront (Inherited from Control.)
Public method CanDebug Enables SQLWorkbenchCommands.cmdidDebugQuery and VSStandardCommands97.cmdidStart.
Protected method ChangeConnection Called when user wants to reconnect to another server while connected. (Inherited from ScriptAndResultsEditorControl.)
Public methodStatic member ChangeEditorConnection Sets the new editor connection from parameters.
Public method ClosePane (Inherited from ShellWindowPaneUserControl.)
Protected method Connect Connects to the server. (Overrides ScriptAndResultsEditorControl.Connect().)
Public method Contains (Inherited from Control.)
Protected method CreateAccessibilityInstance (Inherited from Control.)
Public method CreateControl (Inherited from Control.)
Protected method CreateControlsInstance (Inherited from Control.)
Public method CreateGraphics (Inherited from Control.)
Protected method CreateHandle (Inherited from Control.)
Public methodStatic member CreateInstance(Object, Boolean, Boolean) Creates an instance of the SqlScriptEditorControl class.
Public methodStatic member CreateInstance(Object, Boolean, String) Creates a new instance of the SqlScriptEditorControl class.
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method CreatePaneWindow (Inherited from ShellWindowPaneUserControl.)
Protected method DefWndProc (Inherited from Control.)
Protected method DestroyHandle (Inherited from Control.)
Protected method Disconnect Disconnects the control. (Overrides ScriptAndResultsEditorControl.Disconnect().)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) Clean up any resources used. (Overrides ScriptAndResultsEditorControl.Dispose(Boolean).)
Public method DoDragDrop (Inherited from Control.)
Public method DrawToBitmap (Inherited from Control.)
Public method EndInvoke (Inherited from Control.)
Public method Equals (Inherited from Object.)
Public method Exec (Inherited from ShellWindowPaneUserControl.)
Protected method FillMenuCommands Called by the base class to add handlers for menu items. (Overrides ScriptAndResultsEditorControl.FillMenuCommands().)
Protected method Finalize (Inherited from Component.)
Public method FindForm (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GetAccessibilityObjectById (Inherited from Control.)
Protected method GetAutoSizeMode (Inherited from Control.)
Public method GetChildAtPoint(Point) (Inherited from Control.)
Public method GetChildAtPoint(Point, GetChildAtPointSkip) (Inherited from Control.)
Public method GetContainerControl (Inherited from Control.)
Public method GetDefaultSize (Inherited from ShellWindowPaneUserControl.)
Public method GetFrameCaption Gets the caption of the window based on the full path name of a file that is being edited in the window. (Inherited from ScriptEditorControl.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetNextControl (Inherited from Control.)
Public method GetPreferredSize (Inherited from Control.)
Protected method GetPropertiesWindowWithConnection Needed by SQL Server Compact 3.5 to avoid code duplication;
Protected method GetScaledBounds (Inherited from Control.)
Protected method GetScrollState (Inherited from ScrollableControl.)
Protected method GetService(Type) (Inherited from ShellWindowPaneUserControl.)
Protected method GetService(Guid) (Inherited from ShellWindowPaneUserControl.)
Protected method GetStyle (Inherited from Control.)
Protected method GetTopLevel (Inherited from Control.)
Public method GetType (Inherited from Object.)
Protected method HandleCurrentWindowOptionsCommand Called when user selects "Current Window Options" menu command.
Public method Hide (Inherited from Control.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method InitializeSplitter Does all splitter-related initialization. (Inherited from ScriptAndResultsEditorControl.)
Protected method InitializeStatusBar Performs status-bar related initialization. Derived classes should override it to add more status bar panels and adjust it. (Inherited from ScriptAndResultsEditorControl.)
Protected method InitLayout (Inherited from Control.)
Public method Invalidate() (Inherited from Control.)
Public method Invalidate(Region) (Inherited from Control.)
Public method Invalidate(Boolean) (Inherited from Control.)
Public method Invalidate(Rectangle) (Inherited from Control.)
Public method Invalidate(Region, Boolean) (Inherited from Control.)
Public method Invalidate(Rectangle, Boolean) (Inherited from Control.)
Public method Invoke(Delegate) (Inherited from Control.)
Public method Invoke(Delegate, array<Object[]) (Inherited from Control.)
Protected method InvokeGotFocus (Inherited from Control.)
Protected method InvokeLostFocus (Inherited from Control.)
Protected method InvokeOnClick (Inherited from Control.)
Protected method InvokePaint (Inherited from Control.)
Protected method InvokePaintBackground (Inherited from Control.)
Protected method IsInputChar (Inherited from Control.)
Protected method IsInputKey (Inherited from Control.)
Protected method IsSqlClrProjectFile Detects whether the opened .sql file is a part of a VB or C# project, in which case the toolbar should be disabled. (Inherited from ScriptEditorControl.)
Public method LoadViewState Loads the view state. (Inherited from ScriptEditorControl.)
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected method NotifyInvalidate (Inherited from Control.)
Protected method OnAutoSizeChanged (Inherited from Control.)
Protected method OnAutoValidateChanged (Inherited from ContainerControl.)
Protected method OnBackColorChanged (Inherited from Control.)
Protected method OnBackgroundImageChanged (Inherited from Control.)
Protected method OnBackgroundImageLayoutChanged (Inherited from Control.)
Protected method OnBindingContextChanged (Inherited from Control.)
Protected method OnCausesValidationChanged (Inherited from Control.)
Protected method OnChangeUICues (Inherited from Control.)
Protected method OnClick (Inherited from Control.)
Protected method OnClientSizeChanged (Inherited from Control.)
Protected method OnContextMenuChanged (Inherited from Control.)
Protected method OnContextMenuStripChanged (Inherited from Control.)
Protected method OnControlAdded (Inherited from Control.)
Protected method OnControlRemoved (Inherited from Control.)
Protected method OnCreateControl (Inherited from UserControl.)
Protected method OnCursorChanged (Inherited from Control.)
Public method OnDockableChange (Inherited from ShellWindowPaneUserControl.)
Protected method OnDockChanged (Inherited from Control.)
Protected method OnDoubleClick (Inherited from Control.)
Protected method OnDragDrop (Inherited from Control.)
Protected method OnDragEnter (Inherited from Control.)
Protected method OnDragLeave (Inherited from Control.)
Protected method OnDragOver (Inherited from Control.)
Protected method OnEnabledChanged (Inherited from Control.)
Protected method OnEnter (Inherited from Control.)
Public method OnExec Overrides the OnExec function. (Overrides ShellWindowPaneUserControlOnExec(Guid%, UInt32, UInt32, IntPtr, IntPtr).)
Protected method OnFontChanged (Inherited from ContainerControl.)
Protected method OnForeColorChanged (Inherited from Control.)
Protected method OnGiveFeedback (Inherited from Control.)
Protected method OnGotFocus (Inherited from Control.)
Protected method OnHandleCreated (Inherited from Control.)
Protected method OnHandleDestroyed (Inherited from Control.)
Protected method OnHelpRequested (Inherited from Control.)
Protected method OnHosted Called when control is sited by Visual Studio. At this time, service providers have already been stored in internal variables, so it is safe to call GetService. (Overrides ScriptAndResultsEditorControl.OnHosted().)
Protected method OnImeModeChanged (Inherited from Control.)
Protected method OnInvalidated (Inherited from Control.)
Protected method OnKeyDown (Inherited from Control.)
Protected method OnKeyPress (Inherited from Control.)
Protected method OnKeyUp (Inherited from Control.)
Protected method OnLayout (Inherited from ContainerControl.)
Protected method OnLeave (Inherited from Control.)
Protected method OnLoad (Inherited from UserControl.)
Protected method OnLocationChanged (Inherited from Control.)
Protected method OnLostFocus (Inherited from Control.)
Protected method OnMarginChanged (Inherited from Control.)
Protected method OnMouseCaptureChanged (Inherited from Control.)
Protected method OnMouseClick (Inherited from Control.)
Protected method OnMouseDoubleClick (Inherited from Control.)
Protected method OnMouseDown (Inherited from UserControl.)
Protected method OnMouseEnter (Inherited from Control.)
Protected method OnMouseHover (Inherited from Control.)
Protected method OnMouseLeave (Inherited from Control.)
Protected method OnMouseMove (Inherited from Control.)
Protected method OnMouseUp (Inherited from Control.)
Protected method OnMouseWheel (Inherited from ScrollableControl.)
Public method OnMove() (Inherited from ShellWindowPaneUserControl.)
Protected method OnMove(EventArgs) (Inherited from Control.)
Protected method OnNotifyMessage (Inherited from Control.)
Protected method OnPaddingChanged (Inherited from ScrollableControl.)
Protected method OnPaint (Inherited from Control.)
Protected method OnPaintBackground (Inherited from ScrollableControl.)
Protected method OnParentBackColorChanged (Inherited from Control.)
Protected method OnParentBackgroundImageChanged (Inherited from Control.)
Protected method OnParentBindingContextChanged (Inherited from Control.)
Protected method OnParentChanged (Inherited from ContainerControl.)
Protected method OnParentCursorChanged (Inherited from Control.)
Protected method OnParentEnabledChanged (Inherited from Control.)
Protected method OnParentFontChanged (Inherited from Control.)
Protected method OnParentForeColorChanged (Inherited from Control.)
Protected method OnParentRightToLeftChanged (Inherited from Control.)
Protected method OnParentVisibleChanged (Inherited from Control.)
Protected method OnPreviewKeyDown (Inherited from Control.)
Protected method OnPrint (Inherited from Control.)
Protected method OnQueryContinueDrag (Inherited from Control.)
Public method OnQueryStatus Overrides the OnExec function. (Overrides ShellWindowPaneUserControlOnQueryStatus(Guid%, UInt32, array<OLECMD[], IntPtr).)
Protected method OnRegionChanged (Inherited from Control.)
Protected method OnResize Overrides the WinForms Control base class. (Inherited from ScriptAndResultsEditorControl.)
Protected method OnRightToLeftChanged (Inherited from ScrollableControl.)
Protected method OnScroll (Inherited from ScrollableControl.)
Public method OnShow Notifies the VSPackage of a change in the window's display state. Here, forward to the editor. (Inherited from ScriptEditorControl.)
Protected method OnShowEstimatedPlan Called every time user selects "Show estimated plan" menu item.
Protected method OnShowTemplateParamsGrid Displays template parameters. The Substitution grid is a modal dialog box.
Public method OnSize (Inherited from ShellWindowPaneUserControl.)
Protected method OnSizeChanged (Inherited from Control.)
Protected method OnStyleChanged (Inherited from Control.)
Protected method OnSystemColorsChanged (Inherited from Control.)
Protected method OnTabIndexChanged (Inherited from Control.)
Protected method OnTabStopChanged (Inherited from Control.)
Protected method OnTextChanged (Inherited from Control.)
Protected method OnValidated (Inherited from Control.)
Protected method OnValidating (Inherited from Control.)
Protected method OnVisibleChanged (Inherited from ScrollableControl.)
Protected method OnWindowPaneClose (Inherited from ShellWindowPaneUserControl.)
Protected method OnWindowPaneCreate (Inherited from ShellWindowPaneUserControl.)
Public method PerformAutoScale (Inherited from ContainerControl.)
Public method PerformLayout() (Inherited from Control.)
Public method PerformLayout(Control, String) (Inherited from Control.)
Public method PointToClient (Inherited from Control.)
Public method PointToScreen (Inherited from Control.)
Public method PreProcessControlMessage (Inherited from Control.)
Public method PreProcessMessage (Inherited from Control.)
Protected method ProcessCmdKey (Inherited from ContainerControl.)
Protected method ProcessDialogChar (Inherited from ContainerControl.)
Protected method ProcessDialogKey (Inherited from ContainerControl.)
Protected method ProcessKeyEventArgs (Inherited from Control.)
Protected method ProcessKeyMessage (Inherited from Control.)
Protected method ProcessKeyPreview (Inherited from Control.)
Protected method ProcessMnemonic (Inherited from ContainerControl.)
Protected method ProcessQEOptionsChange Called when user modifies global QE Options using the Tools menu, Options submenu.
Protected method ProcessTabKey (Inherited from ContainerControl.)
Public method QueryStatus (Inherited from ShellWindowPaneUserControl.)
Protected method RaiseDragEvent (Inherited from Control.)
Protected method RaiseKeyEvent (Inherited from Control.)
Protected method RaiseMouseEvent (Inherited from Control.)
Protected method RaisePaintEvent (Inherited from Control.)
Protected method RecreateHandle (Inherited from Control.)
Public method RectangleToClient (Inherited from Control.)
Public method RectangleToScreen (Inherited from Control.)
Public method Refresh (Inherited from Control.)
Public method ResetBackColor (Inherited from Control.)
Public method ResetBindings (Inherited from Control.)
Public method ResetCursor (Inherited from Control.)
Public method ResetFont (Inherited from Control.)
Public method ResetForeColor (Inherited from Control.)
Public method ResetImeMode (Inherited from Control.)
Protected method ResetMouseEventArgs (Inherited from Control.)
Public method ResetRightToLeft (Inherited from Control.)
Public method ResetText (Inherited from Control.)
Public method ResumeLayout() (Inherited from Control.)
Public method ResumeLayout(Boolean) (Inherited from Control.)
Protected method RtlTranslateAlignment(HorizontalAlignment) (Inherited from Control.)
Protected method RtlTranslateAlignment(LeftRightAlignment) (Inherited from Control.)
Protected method RtlTranslateAlignment(ContentAlignment) (Inherited from Control.)
Protected method RtlTranslateContent (Inherited from Control.)
Protected method RtlTranslateHorizontal (Inherited from Control.)
Protected method RtlTranslateLeftRight (Inherited from Control.)
Public method SaveViewState Called by Visual Studio to save any information about this view. (Inherited from ScriptEditorControl.)
Public method Scale(Single) Obsolete. (Inherited from Control.)
Public method Scale(SizeF) (Inherited from Control.)
Public method Scale(Single, Single) Obsolete. (Inherited from Control.)
Protected method ScaleControl (Inherited from ScrollableControl.)
Protected method ScaleCore (Inherited from ScrollableControl.)
Public method ScrollControlIntoView (Inherited from ScrollableControl.)
Protected method ScrollToControl (Inherited from ScrollableControl.)
Public method Select() (Inherited from Control.)
Protected method Select(Boolean, Boolean) (Inherited from ContainerControl.)
Public method SelectNextControl (Inherited from Control.)
Public method SendToBack (Inherited from Control.)
Public method SetAutoScrollMargin (Inherited from ScrollableControl.)
Protected method SetAutoSizeMode (Inherited from Control.)
Public method SetBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Public method SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (Inherited from Control.)
Protected method SetBoundsCore (Inherited from Control.)
Protected method SetClientSizeCore (Inherited from Control.)
Public method SetConnection(UIConnectionGroupInfo) Associates a connection context with the script editor. (Inherited from ScriptAndResultsEditorControl.)
Public method SetConnection(UIConnectionInfo) Associate a connection with the script. (Inherited from ScriptAndResultsEditorControl.)
Public method SetConnection(UIConnectionGroupInfo, IDbConnection) Enables stamp with live connection. (Inherited from ScriptAndResultsEditorControl.)
Public method SetConnection(UIConnectionInfo, IDbConnection) Enables stamp used with live connection (Inherited from ScriptAndResultsEditorControl.)
Protected method SetDisplayRectLocation (Inherited from ScrollableControl.)
Protected method SetScrollState (Inherited from ScrollableControl.)
Public method SetSite Called by Visual Studio when the window is initialized for the first time. (Inherited from ScriptEditorControl.)
Protected method SetStyle (Inherited from Control.)
Protected method SetTopLevel (Inherited from Control.)
Protected method SetVisibleCore (Inherited from Control.)
Protected method ShouldSubscribeToChildrenFocusEvent(Control) Avoids subscription to focus change event of grid children. (Inherited from ScriptEditorControl.)
Protected method ShouldSubscribeToChildrenFocusEvent(Control) (Inherited from ShellWindowPaneUserControl.)
Protected method ShouldTryToReconnectWithCachedCI Determines whether to try to reconnect automatically with the given connection information or to popup a pre-populated connection dialog box without automatically trying to connect. (Inherited from ScriptAndResultsEditorControl.)
Public method Show (Inherited from Control.)
Protected method ShowMessage Shows message box. (Inherited from ScriptEditorControl.)
Protected method SizeFromClientSize (Inherited from Control.)
Public method SuspendLayout (Inherited from Control.)
Protected method ToggleResultsControl Shows or hides the query results control. (Inherited from ScriptAndResultsEditorControl.)
Public method ToString (Inherited from Component.)
Public method TranslateAccelerator Called by Visual Studio to give the window pane a chance to interpret messages before they are routed to their associated windows. Override that enables order processing of WM_MOUSEWHEEL by the grid. (Overrides ShellWindowPaneUserControlTranslateAccelerator(array<MSG[]).)
Public method Update (Inherited from Control.)
Protected method UpdateBounds() (Inherited from Control.)
Protected method UpdateBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Protected method UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) (Inherited from Control.)
Protected method UpdateDefaultButton (Inherited from ContainerControl.)
Protected method UpdateMenuCommandsStatus(MenuCommand) (Inherited from ShellWindowPaneUserControl.)
Protected method UpdateMenuCommandsStatus(MenuCommand) Called by the base class to update commands status. (Overrides ScriptAndResultsEditorControl.UpdateMenuCommandsStatus(MenuCommand).)
Protected method UpdatePropWindow (Inherited from ShellWindowPaneUserControl.)
Protected method UpdatePropWindowWithConnection Shortcut to update property window with settings when connection completes.
Protected method UpdateStyles (Inherited from Control.)
Protected method UpdateZOrder (Inherited from Control.)
Public method Validate() (Inherited from ContainerControl.)
Public method Validate(Boolean) (Inherited from ContainerControl.)
Public method ValidateChildren() (Inherited from UserControl.)
Public method ValidateChildren(ValidationConstraints) (Inherited from UserControl.)
Protected method WndProc (Inherited from UserControl.)

Top

Events

  Name Description
Public event AutoSizeChanged (Inherited from UserControl.)
Public event AutoValidateChanged (Inherited from UserControl.)
Public event BackColorChanged (Inherited from Control.)
Public event BackgroundImageChanged (Inherited from Control.)
Public event BackgroundImageLayoutChanged (Inherited from Control.)
Public event BindingContextChanged (Inherited from Control.)
Public event CausesValidationChanged (Inherited from Control.)
Public event ChangeUICues (Inherited from Control.)
Public event Click (Inherited from Control.)
Public event ClientSizeChanged (Inherited from Control.)
Public event ContextMenuChanged (Inherited from Control.)
Public event ContextMenuStripChanged (Inherited from Control.)
Public event ControlAdded (Inherited from Control.)
Public event ControlRemoved (Inherited from Control.)
Public event CursorChanged (Inherited from Control.)
Public event Disposed (Inherited from Component.)
Public event DockChanged (Inherited from Control.)
Public event DoubleClick (Inherited from Control.)
Public event DragDrop (Inherited from Control.)
Public event DragEnter (Inherited from Control.)
Public event DragLeave (Inherited from Control.)
Public event DragOver (Inherited from Control.)
Public event EnabledChanged (Inherited from Control.)
Public event Enter (Inherited from Control.)
Public event FontChanged (Inherited from Control.)
Public event ForeColorChanged (Inherited from Control.)
Public event GiveFeedback (Inherited from Control.)
Public event GotFocus (Inherited from Control.)
Public event HandleCreated (Inherited from Control.)
Public event HandleDestroyed (Inherited from Control.)
Public event HelpRequested (Inherited from Control.)
Public event ImeModeChanged (Inherited from Control.)
Public event Invalidated (Inherited from Control.)
Public event KeyDown (Inherited from Control.)
Public event KeyPress (Inherited from Control.)
Public event KeyUp (Inherited from Control.)
Public event Layout (Inherited from Control.)
Public event Leave (Inherited from Control.)
Public event Load (Inherited from UserControl.)
Public event LocationChanged (Inherited from Control.)
Public event LostFocus (Inherited from Control.)
Public event MarginChanged (Inherited from Control.)
Public event MouseCaptureChanged (Inherited from Control.)
Public event MouseClick (Inherited from Control.)
Public event MouseDoubleClick (Inherited from Control.)
Public event MouseDown (Inherited from Control.)
Public event MouseEnter (Inherited from Control.)
Public event MouseHover (Inherited from Control.)
Public event MouseLeave (Inherited from Control.)
Public event MouseMove (Inherited from Control.)
Public event MouseUp (Inherited from Control.)
Public event MouseWheel (Inherited from Control.)
Public event Move (Inherited from Control.)
Public event NewConnectionForScript Event that is fired when a user specifies a new connection for the script from the connection dialog box. (Inherited from ScriptAndResultsEditorControl.)
Public event PaddingChanged (Inherited from Control.)
Public event Paint (Inherited from Control.)
Public event ParentChanged (Inherited from Control.)
Public event PreviewKeyDown (Inherited from Control.)
Public event QueryAccessibilityHelp (Inherited from Control.)
Public event QueryContinueDrag (Inherited from Control.)
Public event RegionChanged (Inherited from Control.)
Public event Resize (Inherited from Control.)
Public event RightToLeftChanged (Inherited from Control.)
Public event Scroll (Inherited from ScrollableControl.)
Public event SizeChanged (Inherited from Control.)
Public event StyleChanged (Inherited from Control.)
Public event SystemColorsChanged (Inherited from Control.)
Public event TabIndexChanged (Inherited from Control.)
Public event TabStopChanged (Inherited from Control.)
Public event TextChanged (Inherited from UserControl.)
Public event Validated (Inherited from Control.)
Public event Validating (Inherited from Control.)
Public event VisibleChanged (Inherited from Control.)

Top

Fields

  Name Description
Protected field buildAction Contains the build action to perform with the file. (Inherited from ScriptEditorControl.)
Protected field disconnectAfterQuery If True, disconnects after query executes.
Protected field executionControlHost Container for everything but the status bar. Used for layout.
Protected field initialFocus Initial focus field. (Inherited from ScriptEditorControl.)
Protected field isClrProjectFile Specifies whether this SQL script is a part of a CLR project. (Inherited from ScriptEditorControl.)
Protected field isDacProjectFile Specifies whether this SQL script is a part of a DAC project. (Inherited from ScriptEditorControl.)
Protected field m_connection Cached connection that is associated with the window. (Inherited from ScriptAndResultsEditorControl.)
Protected field m_connectionInfoList Cached connection info that is used in communication with the connection dialog box. (Inherited from ScriptAndResultsEditorControl.)
Protected field m_connectionToUse Connection information that should be applied to the window after it is fully initialized, unless it is stamped with another connection. (Inherited from ScriptAndResultsEditorControl.)
Protected field m_dtExecBegan Member to store at the beginning of script execution. (Inherited from ScriptAndResultsEditorControl.)
Protected field m_Editor Specifies the script editor. (Inherited from ScriptEditorControl.)
Protected field m_scriptSplitter Splitter to horizontally separate script and other elements. (Inherited from ScriptAndResultsEditorControl.)
Protected field m_serviceProvider Specifies the cached native service provider. (Inherited from ScriptEditorControl.)
Protected field m_sp (Inherited from ShellWindowPaneUserControl.)
Protected field m_strOrigMoniker Specifies the name of original moniker that was used to create the editor. (Inherited from ScriptEditorControl.)
Protected field m_timeElapsedTimer Timer for updating properties window with elapsed time during query execution. (Inherited from ScriptAndResultsEditorControl.)
Protected field menuCommands (Inherited from ShellWindowPaneUserControl.)
Protected field projectNode Specifies the project node associated with the script. (Inherited from ScriptEditorControl.)
Protected field selectionServiceForProperties (Inherited from ShellWindowPaneUserControl.)
Protected field statusBar Status bar. (Inherited from ScriptAndResultsEditorControl.)
Protected field statusBarManager Specifies the status bar manager. (Inherited from ScriptEditorControl.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IVsCodeWindowClose Closes the script editor window. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetFind Finds a helper method. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowGetBuffer Gets the editor buffer. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetGetCapabilities Gets capabilities of editor. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetGetCurrentSpan Gets current span in editor. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowGetEditorCaption Gets the editor caption. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetGetFindState Gets find state of editor. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowGetLastActiveView Gets the last active editor view. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetGetMatchRect Gets the matching rectangle. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowGetPrimaryView Gets the primary editor view. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetGetProperty Gets a property identified by the parameters. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetGetSearchImage Gets an integer that identifies the search image. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowGetSecondaryView Gets the secondary editor view. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowGetViewClassID Gets the identifier of the view class. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetMarkSpan Marks the span. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetNavigateTo Navigates to the points identified by the parameter. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetNotifyFindTarget Gets an integer value. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsWindowFrameNotify2OnClose Either cancels the currently running query or cancels the window closing. (Inherited from ScriptAndResultsEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetReplace Replaces the control. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowSetBaseEditorCaption Sets the caption of the editor. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowSetBuffer Sets the editor buffer. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsFindTargetSetFindState Gets an integer value. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsStatusbarUserSetInfo Not implemented. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IVsCodeWindowSetViewClassID Sets the identifier of the view class. (Inherited from ScriptEditorControl.)
Explicit interface implemetationPrivate method IContainerControl.ActivateControl (Inherited from ContainerControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetAttributes (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetClassName (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetComponentName (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetConverter (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetDefaultEvent (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetDefaultProperty (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetEditor (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetEvents() (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetEvents(array<Attribute[]) (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetProperties() (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetProperties(array<Attribute[]) (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method System#ComponentModel#ICustomTypeDescriptor#GetPropertyOwner (Inherited from ShellWindowPaneUserControl.)
Explicit interface implemetationPrivate method IDropTarget.OnDragDrop (Inherited from Control.)
Explicit interface implemetationPrivate method IDropTarget.OnDragEnter (Inherited from Control.)
Explicit interface implemetationPrivate method IDropTarget.OnDragLeave (Inherited from Control.)
Explicit interface implemetationPrivate method IDropTarget.OnDragOver (Inherited from Control.)

Top

Remarks

The execution and results presentation of scripts is done by the DisplaySQLResultsControl class.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.