Export (0) Print
Expand All

SqlScriptEditorControl Class

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

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

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

public class SqlScriptEditorControl : ScriptAndResultsEditorControl

The SqlScriptEditorControl type exposes the following members.

  NameDescription
Public propertyAccessibilityObject (Inherited from Control.)
Public propertyAccessibleDefaultActionDescription (Inherited from Control.)
Public propertyAccessibleDescription (Inherited from Control.)
Public propertyAccessibleName (Inherited from Control.)
Public propertyAccessibleRole (Inherited from Control.)
Public propertyActiveControl (Inherited from ContainerControl.)
Public propertyAllowDrop (Inherited from Control.)
Public propertyAnchor (Inherited from Control.)
Public propertyAutoScaleDimensions (Inherited from ContainerControl.)
Protected propertyAutoScaleFactor (Inherited from ContainerControl.)
Public propertyAutoScaleMode (Inherited from ContainerControl.)
Public propertyAutoScroll (Inherited from ScrollableControl.)
Public propertyAutoScrollMargin (Inherited from ScrollableControl.)
Public propertyAutoScrollMinSize (Inherited from ScrollableControl.)
Public propertyAutoScrollOffset (Inherited from Control.)
Public propertyAutoScrollPosition (Inherited from ScrollableControl.)
Public propertyAutoSize (Inherited from UserControl.)
Public propertyAutoSizeMode (Inherited from UserControl.)
Public propertyAutoValidate (Inherited from UserControl.)
Public propertyBackColor (Inherited from Control.)
Public propertyBackgroundImage (Inherited from Control.)
Public propertyBackgroundImageLayout (Inherited from Control.)
Public propertyBindingContext (Inherited from ContainerControl.)
Public propertyBorderStyle (Inherited from UserControl.)
Public propertyBottom (Inherited from Control.)
Public propertyBounds (Inherited from Control.)
Protected propertyCanEnableIme (Inherited from ContainerControl.)
Public propertyCanFocus (Inherited from Control.)
Protected propertyCanRaiseEvents (Inherited from Control.)
Public propertyCanSelect (Inherited from Control.)
Public propertyCapture (Inherited from Control.)
Public propertyCausesValidation (Inherited from Control.)
Public propertyClientRectangle (Inherited from Control.)
Public propertyClientSize (Inherited from Control.)
Protected propertyCmdUIGuidReturns GUID that is associated with toolbars and menu items that should automatically be visible when this document window is active. (Overrides ScriptEditorControlCmdUIGuid.)
Public propertyCompanyName (Inherited from Control.)
Public propertyConnectionReturns parameters in the case where script editor has a current connection. (Inherited from ScriptAndResultsEditorControl.)
Public propertyConnectionInfoListGets connection context for the editor. (Inherited from ScriptAndResultsEditorControl.)
Public propertyContainer (Inherited from Component.)
Public propertyContainsFocus (Inherited from Control.)
Public propertyContextMenu (Inherited from Control.)
Public propertyContextMenuStrip (Inherited from Control.)
Public propertyControls (Inherited from Control.)
Public propertyCreated (Inherited from Control.)
Protected propertyCreateParams (Inherited from UserControl.)
Public propertyCurrentAutoScaleDimensions (Inherited from ContainerControl.)
Protected propertyCurrentDBGets or sets the database that is current for this script. (Overrides ScriptAndResultsEditorControl.CurrentDB.)
Public propertyCursor (Inherited from Control.)
Public propertyDataBindings (Inherited from Control.)
Protected propertyDefaultCursor (Inherited from Control.)
Protected propertyDefaultHelpContextGets the keyword that is pushed into the dynamic help window by default when this editor is active. (Overrides ScriptEditorControlDefaultHelpContext.)
Protected propertyDefaultImeMode (Inherited from Control.)
Protected propertyDefaultMargin (Inherited from Control.)
Protected propertyDefaultMaximumSize (Inherited from Control.)
Protected propertyDefaultMinimumSize (Inherited from Control.)
Protected propertyDefaultPadding (Inherited from Control.)
Protected propertyDefaultSize (Inherited from UserControl.)
Protected propertyDesignMode (Inherited from Component.)
Public propertyDisplayRectangle (Inherited from ScrollableControl.)
Public propertyDisposing (Inherited from Control.)
Public propertyDock (Inherited from Control.)
Public propertyDockPadding (Inherited from ScrollableControl.)
Protected propertyDoubleBuffered (Inherited from Control.)
Public propertyEnabled (Inherited from Control.)
Protected propertyEvents (Inherited from Component.)
Public propertyFocused (Inherited from Control.)
Public propertyFont (Inherited from Control.)
Protected propertyFontHeight (Inherited from Control.)
Public propertyForeColor (Inherited from Control.)
Public propertyHandle (Inherited from Control.)
Public propertyHasChildren (Inherited from Control.)
Public propertyHeight (Inherited from Control.)
Public propertyHorizontalScroll (Inherited from ScrollableControl.)
Protected propertyHScroll (Inherited from ScrollableControl.)
Public propertyImeMode (Inherited from Control.)
Protected propertyImeModeBase (Inherited from Control.)
Public propertyInvokeRequired (Inherited from Control.)
Public propertyIsAccessible (Inherited from Control.)
Protected propertyIsAFedMemberGets or sets a value that indicates whether the current database is a federation member. (Inherited from ScriptAndResultsEditorControl.)
Public propertyIsConnectedGets or sets whether the editor control is connected. (Inherited from ScriptAndResultsEditorControl.)
Protected propertyIsControlUnderSplitterVisibleGets a Boolean value that specifies how the window will be resized. (Inherited from ScriptAndResultsEditorControl.)
Public propertyIsDebuggingGets or sets whether the script is being executed. (Inherited from ScriptAndResultsEditorControl.)
Public propertyIsDisposed (Inherited from Control.)
Protected propertyIsExecutingGets or sets whether the script is being executed. (Inherited from ScriptAndResultsEditorControl.)
Public propertyIsHandleCreated (Inherited from Control.)
Public propertyIsMirrored (Inherited from Control.)
Protected propertyIsScriptEditorActiveGets a Boolean value that specifies whether the code editor is currently active. (Inherited from ScriptAndResultsEditorControl.)
Public propertyIsSqlCmdModeGets or sets the flag that specifies whether SQLCMD mode is set. (Inherited from ScriptAndResultsEditorControl.)
Public propertyIsSqlObjectDocumentGets a Boolean which determines if the SqlScriptEditorControl is a debugging window.
Protected propertyIsWithNumberOfRowsOnStatusBarGets a Boolean value that specifies whether the status bar contains a panel for number of fetched rows. (Inherited from ScriptAndResultsEditorControl.)
Protected propertyLanguageServiceGUIDGets the GUID of the language service that should be specified for the Visual Studio editor with the text of the script. (Overrides ScriptEditorControlLanguageServiceGUID.)
Public propertyLayoutEngine (Inherited from Control.)
Public propertyLeft (Inherited from Control.)
Public propertyLocation (Inherited from Control.)
Public propertyMargin (Inherited from Control.)
Public propertyMaximumSize (Inherited from Control.)
Public propertyMinimumSize (Inherited from Control.)
Protected propertyMyOptionsGets or sets connection options that will be used by this window for execution.
Public propertyName (Inherited from Control.)
Public propertyPadding (Inherited from Control.)
Public propertyParent (Inherited from Control.)
Public propertyParentForm (Inherited from ContainerControl.)
Public propertyPreferredSize (Inherited from Control.)
Public propertyProductName (Inherited from Control.)
Public propertyProductVersion (Inherited from Control.)
Public propertyRecreatingHandle (Inherited from Control.)
Public propertyRegion (Inherited from Control.)
Protected propertyRenderRightToLeft Obsolete. (Inherited from Control.)
Protected propertyResizeRedraw (Inherited from Control.)
Public propertyRight (Inherited from Control.)
Public propertyRightToLeft (Inherited from Control.)
Protected propertyScaleChildren (Inherited from Control.)
Protected propertyScriptEditorContextMenuIDGets the identifier of the context menu that should be shown when user right clicks on script editor. (Overrides ScriptEditorControlScriptEditorContextMenuID.)
Protected propertyShowCurrentResultsBelowSplitterGets 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 propertyShowFocusCues (Inherited from Control.)
Protected propertyShowKeyboardCues (Inherited from Control.)
Public propertySite (Inherited from Control.)
Public propertySize (Inherited from Control.)
Public propertySqlCmdVarsGets or sets a dictionary containing all the variables and their values from sqlcmdvars file in Database projects in Visual Studio. (Inherited from ScriptAndResultsEditorControl.)
Public propertyTabIndex (Inherited from Control.)
Public propertyTabStop (Inherited from Control.)
Public propertyTag (Inherited from Control.)
Public propertyText (Inherited from UserControl.)
Public propertyTop (Inherited from Control.)
Public propertyTopLevelControl (Inherited from Control.)
Public propertyUseWaitCursor (Inherited from Control.)
Public propertyVerticalScroll (Inherited from ScrollableControl.)
Public propertyVisible (Inherited from Control.)
Protected propertyVScroll (Inherited from ScrollableControl.)
Public propertyWidth (Inherited from Control.)
Public propertyWindowTarget (Inherited from Control.)
Top

  NameDescription
Protected methodAccessibilityNotifyClients(AccessibleEvents, Int32) (Inherited from Control.)
Protected methodAccessibilityNotifyClients(AccessibleEvents, Int32, Int32) (Inherited from Control.)
Protected methodAdjustFormScrollbars (Inherited from ContainerControl.)
Public methodBeginInvoke(Delegate) (Inherited from Control.)
Public methodBeginInvoke(Delegate, Object) (Inherited from Control.)
Public methodBringToFront (Inherited from Control.)
Public methodCanDebugEnables SQLWorkbenchCommands.cmdidDebugQuery and VSStandardCommands97.cmdidStart.
Protected methodChangeConnectionCalled when user wants to reconnect to another server while connected. (Inherited from ScriptAndResultsEditorControl.)
Public methodStatic memberChangeEditorConnectionSets the new editor connection from parameters.
Protected methodClearCachedValuesClears cache values from previous shard operations. (Inherited from ScriptAndResultsEditorControl.)
Protected methodConnectConnects to the server. (Overrides ScriptAndResultsEditorControl.Connect().)
Public methodContains (Inherited from Control.)
Protected methodCreateAccessibilityInstance (Inherited from Control.)
Public methodCreateControl (Inherited from Control.)
Protected methodCreateControlsInstance (Inherited from Control.)
Public methodCreateGraphics (Inherited from Control.)
Protected methodCreateHandle (Inherited from Control.)
Public methodStatic memberCreateInstance(Object, Boolean, Boolean)Creates an instance of the SqlScriptEditorControl class.
Public methodStatic memberCreateInstance(Object, Boolean, String)Creates a new instance of the SqlScriptEditorControl class.
Public methodCreateObjRefSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodDefWndProc (Inherited from Control.)
Protected methodDestroyHandle (Inherited from Control.)
Protected methodDisconnectDisconnects the control. (Overrides ScriptAndResultsEditorControl.Disconnect().)
Public methodDispose (Inherited from Component.)
Protected methodDispose(Boolean)Clean up any resources used. (Overrides ScriptAndResultsEditorControl.Dispose(Boolean).)
Public methodDoDragDrop (Inherited from Control.)
Public methodDrawToBitmap (Inherited from Control.)
Public methodEndInvoke (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Protected methodFillMenuCommandsCalled by the base class to add handlers for menu items. (Overrides ScriptAndResultsEditorControl.FillMenuCommands().)
Protected methodFinalize (Inherited from Component.)
Public methodFindForm (Inherited from Control.)
Public methodFocus (Inherited from Control.)
Protected methodGetAccessibilityObjectById (Inherited from Control.)
Protected methodGetAutoSizeMode (Inherited from Control.)
Public methodGetChildAtPoint(Point) (Inherited from Control.)
Public methodGetChildAtPoint(Point, GetChildAtPointSkip) (Inherited from Control.)
Public methodGetContainerControl (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Public methodGetNextControl (Inherited from Control.)
Public methodGetPreferredSize (Inherited from Control.)
Protected methodGetPropertiesWindowWithConnectionNeeded by SQL Server Compact 3.5 to avoid code duplication;
Protected methodGetScaledBounds (Inherited from Control.)
Protected methodGetScrollState (Inherited from ScrollableControl.)
Protected methodGetService (Inherited from Component.)
Protected methodGetStyle (Inherited from Control.)
Protected methodGetTopLevel (Inherited from Control.)
Public methodGetType (Inherited from Object.)
Protected methodHandleCurrentWindowOptionsCommandCalled when user selects "Current Window Options" menu command.
Public methodHide (Inherited from Control.)
Public methodInitializeLifetimeServiceSecurity Critical. (Inherited from MarshalByRefObject.)
Protected methodInitializeSplitterDoes all splitter-related initialization. (Inherited from ScriptAndResultsEditorControl.)
Protected methodInitializeStatusBarPerforms status-bar related initialization. Derived classes should override it to add more status bar panels and adjust it. (Inherited from ScriptAndResultsEditorControl.)
Protected methodInitLayout (Inherited from Control.)
Public methodInvalidate (Inherited from Control.)
Public methodInvalidate(Region) (Inherited from Control.)
Public methodInvalidate(Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle) (Inherited from Control.)
Public methodInvalidate(Region, Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle, Boolean) (Inherited from Control.)
Public methodInvoke(Delegate) (Inherited from Control.)
Public methodInvoke(Delegate, Object) (Inherited from Control.)
Protected methodInvokeGotFocus (Inherited from Control.)
Protected methodInvokeLostFocus (Inherited from Control.)
Protected methodInvokeOnClick (Inherited from Control.)
Protected methodInvokePaint (Inherited from Control.)
Protected methodInvokePaintBackground (Inherited from Control.)
Protected methodIsInputChar (Inherited from Control.)
Protected methodIsInputKey (Inherited from Control.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodNotifyInvalidate (Inherited from Control.)
Protected methodOnAutoSizeChanged (Inherited from Control.)
Protected methodOnAutoValidateChanged (Inherited from ContainerControl.)
Protected methodOnBackColorChanged (Inherited from Control.)
Protected methodOnBackgroundImageChanged (Inherited from Control.)
Protected methodOnBackgroundImageLayoutChanged (Inherited from Control.)
Protected methodOnBindingContextChanged (Inherited from Control.)
Protected methodOnCausesValidationChanged (Inherited from Control.)
Protected methodOnChangeUICues (Inherited from Control.)
Protected methodOnClick (Inherited from Control.)
Protected methodOnClientSizeChanged (Inherited from Control.)
Protected methodOnContextMenuChanged (Inherited from Control.)
Protected methodOnContextMenuStripChanged (Inherited from Control.)
Protected methodOnControlAdded (Inherited from Control.)
Protected methodOnControlRemoved (Inherited from Control.)
Protected methodOnCreateControl (Inherited from UserControl.)
Protected methodOnCursorChanged (Inherited from Control.)
Protected methodOnDockChanged (Inherited from Control.)
Protected methodOnDoubleClick (Inherited from Control.)
Protected methodOnDragDrop (Inherited from Control.)
Protected methodOnDragEnter (Inherited from Control.)
Protected methodOnDragLeave (Inherited from Control.)
Protected methodOnDragOver (Inherited from Control.)
Protected methodOnEnabledChanged (Inherited from Control.)
Protected methodOnEnter (Inherited from Control.)
Public methodOnExecOverrides the OnExec function. (Overrides ShellWindowPaneUserControlOnExec(Guid, UInt32, UInt32, IntPtr, IntPtr).)
Protected methodOnFontChanged (Inherited from ContainerControl.)
Protected methodOnForeColorChanged (Inherited from Control.)
Protected methodOnGiveFeedback (Inherited from Control.)
Protected methodOnGotFocus (Inherited from Control.)
Protected methodOnHandleCreated (Inherited from Control.)
Protected methodOnHandleDestroyed (Inherited from Control.)
Protected methodOnHelpRequested (Inherited from Control.)
Protected methodOnHostedCalled 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 methodOnImeModeChanged (Inherited from Control.)
Protected methodOnInvalidated (Inherited from Control.)
Protected methodOnKeyDown (Inherited from Control.)
Protected methodOnKeyPress (Inherited from Control.)
Protected methodOnKeyUp (Inherited from Control.)
Protected methodOnLayout (Inherited from ContainerControl.)
Protected methodOnLeave (Inherited from Control.)
Protected methodOnLoad (Inherited from UserControl.)
Protected methodOnLocationChanged (Inherited from Control.)
Protected methodOnLostFocus (Inherited from Control.)
Protected methodOnMarginChanged (Inherited from Control.)
Protected methodOnMouseCaptureChanged (Inherited from Control.)
Protected methodOnMouseClick (Inherited from Control.)
Protected methodOnMouseDoubleClick (Inherited from Control.)
Protected methodOnMouseDown (Inherited from UserControl.)
Protected methodOnMouseEnter (Inherited from Control.)
Protected methodOnMouseHover (Inherited from Control.)
Protected methodOnMouseLeave (Inherited from Control.)
Protected methodOnMouseMove (Inherited from Control.)
Protected methodOnMouseUp (Inherited from Control.)
Protected methodOnMouseWheel (Inherited from ScrollableControl.)
Protected methodOnMove (Inherited from Control.)
Protected methodOnNotifyMessage (Inherited from Control.)
Protected methodOnPaddingChanged (Inherited from ScrollableControl.)
Protected methodOnPaint (Inherited from Control.)
Protected methodOnPaintBackground (Inherited from ScrollableControl.)
Protected methodOnParentBackColorChanged (Inherited from Control.)
Protected methodOnParentBackgroundImageChanged (Inherited from Control.)
Protected methodOnParentBindingContextChanged (Inherited from Control.)
Protected methodOnParentChanged (Inherited from ContainerControl.)
Protected methodOnParentCursorChanged (Inherited from Control.)
Protected methodOnParentEnabledChanged (Inherited from Control.)
Protected methodOnParentFontChanged (Inherited from Control.)
Protected methodOnParentForeColorChanged (Inherited from Control.)
Protected methodOnParentRightToLeftChanged (Inherited from Control.)
Protected methodOnParentVisibleChanged (Inherited from Control.)
Protected methodOnPreviewKeyDown (Inherited from Control.)
Protected methodOnPrint (Inherited from Control.)
Protected methodOnQueryContinueDrag (Inherited from Control.)
Public methodOnQueryStatusOverrides the OnQueryStatus function. (Overrides ShellWindowPaneUserControlOnQueryStatus(Guid, UInt32, OLECMD, IntPtr).)
Protected methodOnRegionChanged (Inherited from Control.)
Protected methodOnResizeOverrides the WinForms Control base class. (Inherited from ScriptAndResultsEditorControl.)
Protected methodOnRightToLeftChanged (Inherited from ScrollableControl.)
Protected methodOnScroll (Inherited from ScrollableControl.)
Protected methodOnShowEstimatedPlanCalled every time user selects "Show estimated plan" menu item.
Protected methodOnShowTemplateParamsGridDisplays template parameters. The Substitution grid is a modal dialog box.
Protected methodOnSizeChanged (Inherited from Control.)
Protected methodOnStyleChanged (Inherited from Control.)
Protected methodOnSystemColorsChanged (Inherited from Control.)
Protected methodOnTabIndexChanged (Inherited from Control.)
Protected methodOnTabStopChanged (Inherited from Control.)
Protected methodOnTextChanged (Inherited from Control.)
Protected methodOnValidated (Inherited from Control.)
Protected methodOnValidating (Inherited from Control.)
Protected methodOnVisibleChanged (Inherited from ScrollableControl.)
Public methodPerformAutoScale (Inherited from ContainerControl.)
Public methodPerformLayout (Inherited from Control.)
Public methodPerformLayout(Control, String) (Inherited from Control.)
Public methodPointToClient (Inherited from Control.)
Public methodPointToScreen (Inherited from Control.)
Public methodPreProcessControlMessage (Inherited from Control.)
Public methodPreProcessMessage (Inherited from Control.)
Protected methodProcessCmdKey (Inherited from ContainerControl.)
Protected methodProcessDialogChar (Inherited from ContainerControl.)
Protected methodProcessDialogKey (Inherited from ContainerControl.)
Protected methodProcessKeyEventArgs (Inherited from Control.)
Protected methodProcessKeyMessage (Inherited from Control.)
Protected methodProcessKeyPreview (Inherited from Control.)
Protected methodProcessMnemonic (Inherited from ContainerControl.)
Protected methodProcessQEOptionsChangeCalled when user modifies global QE Options using the Tools menu, Options submenu.
Protected methodProcessTabKey (Inherited from ContainerControl.)
Protected methodRaiseDragEvent (Inherited from Control.)
Protected methodRaiseKeyEvent (Inherited from Control.)
Protected methodRaiseMouseEvent (Inherited from Control.)
Protected methodRaisePaintEvent (Inherited from Control.)
Protected methodRecreateHandle (Inherited from Control.)
Public methodRectangleToClient (Inherited from Control.)
Public methodRectangleToScreen (Inherited from Control.)
Public methodRefresh (Inherited from Control.)
Public methodResetBackColor (Inherited from Control.)
Public methodResetBindings (Inherited from Control.)
Public methodResetCursor (Inherited from Control.)
Public methodResetFont (Inherited from Control.)
Public methodResetForeColor (Inherited from Control.)
Public methodResetImeMode (Inherited from Control.)
Protected methodResetMouseEventArgs (Inherited from Control.)
Public methodResetRightToLeft (Inherited from Control.)
Public methodResetText (Inherited from Control.)
Public methodResumeLayout (Inherited from Control.)
Public methodResumeLayout(Boolean) (Inherited from Control.)
Protected methodRtlTranslateAlignment(HorizontalAlignment) (Inherited from Control.)
Protected methodRtlTranslateAlignment(LeftRightAlignment) (Inherited from Control.)
Protected methodRtlTranslateAlignment(ContentAlignment) (Inherited from Control.)
Protected methodRtlTranslateContent (Inherited from Control.)
Protected methodRtlTranslateHorizontal (Inherited from Control.)
Protected methodRtlTranslateLeftRight (Inherited from Control.)
Public methodScale(Single) Obsolete. (Inherited from Control.)
Public methodScale(SizeF) (Inherited from Control.)
Public methodScale(Single, Single) Obsolete. (Inherited from Control.)
Protected methodScaleControl (Inherited from ScrollableControl.)
Protected methodScaleCore (Inherited from ScrollableControl.)
Public methodScrollControlIntoView (Inherited from ScrollableControl.)
Protected methodScrollToControl (Inherited from ScrollableControl.)
Public methodSelect (Inherited from Control.)
Protected methodSelect(Boolean, Boolean) (Inherited from ContainerControl.)
Public methodSelectNextControl (Inherited from Control.)
Public methodSendToBack (Inherited from Control.)
Public methodSetAutoScrollMargin (Inherited from ScrollableControl.)
Protected methodSetAutoSizeMode (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (Inherited from Control.)
Protected methodSetBoundsCore (Inherited from Control.)
Protected methodSetClientSizeCore (Inherited from Control.)
Public methodSetConnection(UIConnectionGroupInfo)Associates a connection context with the script editor. (Inherited from ScriptAndResultsEditorControl.)
Public methodSetConnection(UIConnectionInfo)Associate a connection with the script. (Inherited from ScriptAndResultsEditorControl.)
Public methodSetConnection(UIConnectionGroupInfo, IDbConnection)Enables stamp with live connection. (Inherited from ScriptAndResultsEditorControl.)
Public methodSetConnection(UIConnectionInfo, IDbConnection)Enables stamp used with live connection (Inherited from ScriptAndResultsEditorControl.)
Protected methodSetDisplayRectLocation (Inherited from ScrollableControl.)
Protected methodSetScrollState (Inherited from ScrollableControl.)
Protected methodSetStyle (Inherited from Control.)
Protected methodSetTopLevel (Inherited from Control.)
Protected methodSetVisibleCore (Inherited from Control.)
Protected methodShouldTryToReconnectWithCachedCIIndicates whether to reconnect automatically with the given connection information or display prepopulated connection dialog box. (Overrides ScriptAndResultsEditorControl.ShouldTryToReconnectWithCachedCI(UIConnectionInfo).)
Public methodShow (Inherited from Control.)
Protected methodSizeFromClientSize (Inherited from Control.)
Public methodSuspendLayout (Inherited from Control.)
Protected methodToggleResultsControlShows or hides the query results control. (Inherited from ScriptAndResultsEditorControl.)
Public methodToString (Inherited from Component.)
Public methodTranslateAcceleratorCalled 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(MSG).)
Public methodUpdate (Inherited from Control.)
Protected methodUpdateBounds (Inherited from Control.)
Protected methodUpdateBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Protected methodUpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32) (Inherited from Control.)
Protected methodUpdateDefaultButton (Inherited from ContainerControl.)
Protected methodUpdateMenuCommandsStatusCalled by the base class to update commands status. (Overrides ScriptAndResultsEditorControl.UpdateMenuCommandsStatus(MenuCommand).)
Protected methodUpdatePropWindowWithConnectionShortcut to update property window with settings when connection completes.
Protected methodUpdateStyles (Inherited from Control.)
Protected methodUpdateZOrder (Inherited from Control.)
Public methodValidate (Inherited from ContainerControl.)
Public methodValidate(Boolean) (Inherited from ContainerControl.)
Public methodValidateChildren (Inherited from UserControl.)
Public methodValidateChildren(ValidationConstraints) (Inherited from UserControl.)
Protected methodWndProc (Inherited from UserControl.)
Top

  NameDescription
Public eventAutoSizeChanged (Inherited from UserControl.)
Public eventAutoValidateChanged (Inherited from UserControl.)
Public eventBackColorChanged (Inherited from Control.)
Public eventBackgroundImageChanged (Inherited from Control.)
Public eventBackgroundImageLayoutChanged (Inherited from Control.)
Public eventBindingContextChanged (Inherited from Control.)
Public eventCausesValidationChanged (Inherited from Control.)
Public eventChangeUICues (Inherited from Control.)
Public eventClick (Inherited from Control.)
Public eventClientSizeChanged (Inherited from Control.)
Public eventContextMenuChanged (Inherited from Control.)
Public eventContextMenuStripChanged (Inherited from Control.)
Public eventControlAdded (Inherited from Control.)
Public eventControlRemoved (Inherited from Control.)
Public eventCursorChanged (Inherited from Control.)
Public eventDisposed (Inherited from Component.)
Public eventDockChanged (Inherited from Control.)
Public eventDoubleClick (Inherited from Control.)
Public eventDragDrop (Inherited from Control.)
Public eventDragEnter (Inherited from Control.)
Public eventDragLeave (Inherited from Control.)
Public eventDragOver (Inherited from Control.)
Public eventEnabledChanged (Inherited from Control.)
Public eventEnter (Inherited from Control.)
Public eventFontChanged (Inherited from Control.)
Public eventForeColorChanged (Inherited from Control.)
Public eventGiveFeedback (Inherited from Control.)
Public eventGotFocus (Inherited from Control.)
Public eventHandleCreated (Inherited from Control.)
Public eventHandleDestroyed (Inherited from Control.)
Public eventHelpRequested (Inherited from Control.)
Public eventImeModeChanged (Inherited from Control.)
Public eventInvalidated (Inherited from Control.)
Public eventKeyDown (Inherited from Control.)
Public eventKeyPress (Inherited from Control.)
Public eventKeyUp (Inherited from Control.)
Public eventLayout (Inherited from Control.)
Public eventLeave (Inherited from Control.)
Public eventLoad (Inherited from UserControl.)
Public eventLocationChanged (Inherited from Control.)
Public eventLostFocus (Inherited from Control.)
Public eventMarginChanged (Inherited from Control.)
Public eventMouseCaptureChanged (Inherited from Control.)
Public eventMouseClick (Inherited from Control.)
Public eventMouseDoubleClick (Inherited from Control.)
Public eventMouseDown (Inherited from Control.)
Public eventMouseEnter (Inherited from Control.)
Public eventMouseHover (Inherited from Control.)
Public eventMouseLeave (Inherited from Control.)
Public eventMouseMove (Inherited from Control.)
Public eventMouseUp (Inherited from Control.)
Public eventMouseWheel (Inherited from Control.)
Public eventMove (Inherited from Control.)
Public eventNewConnectionForScriptEvent that is fired when a user specifies a new connection for the script from the connection dialog box. (Inherited from ScriptAndResultsEditorControl.)
Public eventPaddingChanged (Inherited from Control.)
Public eventPaint (Inherited from Control.)
Public eventParentChanged (Inherited from Control.)
Public eventPreviewKeyDown (Inherited from Control.)
Public eventQueryAccessibilityHelp (Inherited from Control.)
Public eventQueryContinueDrag (Inherited from Control.)
Public eventRegionChanged (Inherited from Control.)
Public eventResize (Inherited from Control.)
Public eventRightToLeftChanged (Inherited from Control.)
Public eventScroll (Inherited from ScrollableControl.)
Public eventSizeChanged (Inherited from Control.)
Public eventStyleChanged (Inherited from Control.)
Public eventSystemColorsChanged (Inherited from Control.)
Public eventTabIndexChanged (Inherited from Control.)
Public eventTabStopChanged (Inherited from Control.)
Public eventTextChanged (Inherited from UserControl.)
Public eventValidated (Inherited from Control.)
Public eventValidating (Inherited from Control.)
Public eventVisibleChanged (Inherited from Control.)
Top

  NameDescription
Protected fielddisconnectAfterQueryIf True, disconnects after query executes.
Protected fieldexecutionControlHostContainer for everything but the status bar. Used for layout.
Protected fieldfedRootNameSpecifies the name of the root federation. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldisCloudDatabaseDetermines whether SQL Server Management Studio is currently connected to a SQL Azure server. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldisFedMemAttrCheckedA Boolean value that indicates whether the federation member attribute is checked. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldm_connectionCached connection that is associated with the window. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldm_connectionInfoListCached connection info that is used in communication with the connection dialog box. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldm_connectionToUseConnection information that should be applied to the window after it is fully initialized, unless it is stamped with another connection. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldm_dtExecBeganMember to store at the beginning of script execution. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldm_scriptSplitterSplitter to horizontally separate script and other elements. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldm_timeElapsedTimerTimer for updating properties window with elapsed time during query execution. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldshardNameSpecifies the shard name. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldstatusBarStatus bar. (Inherited from ScriptAndResultsEditorControl.)
Protected fieldsysShardNameSpecifies the system shard name. (Inherited from ScriptAndResultsEditorControl.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIVsWindowFrameNotify2OnCloseEither cancels the currently running query or cancels the window closing. (Inherited from ScriptAndResultsEditorControl.)
Explicit interface implemetationPrivate methodSystem#Windows#Forms#IContainerControl#ActivateControl (Inherited from ContainerControl.)
Explicit interface implemetationPrivate methodSystem#Windows#Forms#IDropTarget#OnDragDrop (Inherited from Control.)
Explicit interface implemetationPrivate methodSystem#Windows#Forms#IDropTarget#OnDragEnter (Inherited from Control.)
Explicit interface implemetationPrivate methodSystem#Windows#Forms#IDropTarget#OnDragLeave (Inherited from Control.)
Explicit interface implemetationPrivate methodSystem#Windows#Forms#IDropTarget#OnDragOver (Inherited from Control.)
Top

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft