SqlScriptEditorControl Class
Implements SQL script editing. This class implements all execution options of scripts and handles all requests from the menu toolbars.
Assembly: SQLEditors (in SQLEditors.dll)
System::MarshalByRefObject
System.ComponentModel::Component
System.Windows.Forms::Control
System.Windows.Forms::ScrollableControl
System.Windows.Forms::ContainerControl
System.Windows.Forms::UserControl
Microsoft.SqlServer.Management.UI.VSIntegration::ShellWindowPaneUserControl
Microsoft.SqlServer.Management.UI.VSIntegration.Editors::ScriptEditorControl
Microsoft.SqlServer.Management.UI.VSIntegration.Editors::ScriptAndResultsEditorControl
Microsoft.SqlServer.Management.UI.VSIntegration.Editors::SqlScriptEditorControl
| Name | Description | |
|---|---|---|
![]() | AccessibilityObject | (Inherited from Control.) |
![]() | AccessibleDefaultActionDescription | (Inherited from Control.) |
![]() | AccessibleDescription | (Inherited from Control.) |
![]() | AccessibleName | (Inherited from Control.) |
![]() | AccessibleRole | (Inherited from Control.) |
![]() | ActiveControl | (Inherited from ContainerControl.) |
![]() | AllowDrop | (Inherited from Control.) |
![]() | Anchor | (Inherited from Control.) |
![]() | AutoScaleDimensions | (Inherited from ContainerControl.) |
![]() | AutoScaleFactor | (Inherited from ContainerControl.) |
![]() | AutoScaleMode | (Inherited from ContainerControl.) |
![]() | AutoScroll | (Inherited from ScrollableControl.) |
![]() | AutoScrollMargin | (Inherited from ScrollableControl.) |
![]() | AutoScrollMinSize | (Inherited from ScrollableControl.) |
![]() | AutoScrollOffset | (Inherited from Control.) |
![]() | AutoScrollPosition | (Inherited from ScrollableControl.) |
![]() | AutoSize | (Inherited from UserControl.) |
![]() | AutoSizeMode | (Inherited from UserControl.) |
![]() | AutoValidate | (Inherited from UserControl.) |
![]() | BackColor | (Inherited from Control.) |
![]() | BackgroundImage | (Inherited from Control.) |
![]() | BackgroundImageLayout | (Inherited from Control.) |
![]() | BindingContext | (Inherited from ContainerControl.) |
![]() | BorderStyle | (Inherited from UserControl.) |
![]() | Bottom | (Inherited from Control.) |
![]() | Bounds | (Inherited from Control.) |
![]() | CanEnableIme | (Inherited from ContainerControl.) |
![]() | CanFocus | (Inherited from Control.) |
![]() | CanRaiseEvents | (Inherited from Control.) |
![]() | CanSelect | (Inherited from Control.) |
![]() | Capture | (Inherited from Control.) |
![]() | CausesValidation | (Inherited from Control.) |
![]() | ClientRectangle | (Inherited from Control.) |
![]() | ClientSize | (Inherited from Control.) |
![]() | 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.) |
![]() | CompanyName | (Inherited from Control.) |
![]() | Connection | Returns parameters in the case where script editor has a current connection.(Inherited from ScriptAndResultsEditorControl.) |
![]() | ConnectionInfoList | Gets connection context for the editor.(Inherited from ScriptAndResultsEditorControl.) |
![]() | Container | (Inherited from Component.) |
![]() | ContainsFocus | (Inherited from Control.) |
![]() | ContextMenu | (Inherited from Control.) |
![]() | ContextMenuStrip | (Inherited from Control.) |
![]() | Controls | (Inherited from Control.) |
![]() | Created | (Inherited from Control.) |
![]() | CreateParams | (Inherited from UserControl.) |
![]() | CurrentAutoScaleDimensions | (Inherited from ContainerControl.) |
![]() | CurrentDB | Gets or sets the database that is current for this script.(Overrides ScriptAndResultsEditorControl::CurrentDB.) |
![]() | Cursor | (Inherited from Control.) |
![]() | DataBindings | (Inherited from Control.) |
![]() | DefaultCursor | (Inherited from Control.) |
![]() | DefaultHelpContext | Gets the keyword that is pushed into the dynamic help window by default when this editor is active.(Overrides ScriptEditorControl::DefaultHelpContext.) |
![]() | DefaultImeMode | (Inherited from Control.) |
![]() | DefaultMargin | (Inherited from Control.) |
![]() | DefaultMaximumSize | (Inherited from Control.) |
![]() | DefaultMinimumSize | (Inherited from Control.) |
![]() | DefaultPadding | (Inherited from Control.) |
![]() | DefaultSize | (Inherited from UserControl.) |
![]() | DesignMode | (Inherited from Component.) |
![]() | DisplayRectangle | (Inherited from ScrollableControl.) |
![]() | Disposing | (Inherited from Control.) |
![]() | Dock | (Inherited from Control.) |
![]() | DoubleBuffered | (Inherited from Control.) |
![]() | Enabled | (Inherited from Control.) |
![]() | Events | (Inherited from Component.) |
![]() | Focused | (Inherited from Control.) |
![]() | Font | (Inherited from Control.) |
![]() | FontHeight | (Inherited from Control.) |
![]() | ForeColor | (Inherited from Control.) |
![]() | Handle | (Inherited from Control.) |
![]() | HasChildren | (Inherited from Control.) |
![]() | Height | (Inherited from Control.) |
![]() | HorizontalScroll | (Inherited from ScrollableControl.) |
![]() | HScroll | (Inherited from ScrollableControl.) |
![]() | ImeMode | (Inherited from Control.) |
![]() | ImeModeBase | (Inherited from Control.) |
![]() | InvokeRequired | (Inherited from Control.) |
![]() | IsAccessible | (Inherited from Control.) |
![]() | IsAFedMember | Gets or sets a value that indicates whether the current database is a federation member.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsConnected | Gets or sets whether the editor control is connected.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsControlUnderSplitterVisible | Gets a Boolean value that specifies how the window will be resized.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsDebugging | Gets or sets whether the script is being executed.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsDisposed | (Inherited from Control.) |
![]() | IsExecuting | Gets or sets whether the script is being executed.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsHandleCreated | (Inherited from Control.) |
![]() | IsMirrored | (Inherited from Control.) |
![]() | IsScriptEditorActive | Gets a Boolean value that specifies whether the code editor is currently active.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsSqlCmdMode | Gets or sets the flag that specifies whether SQLCMD mode is set.(Inherited from ScriptAndResultsEditorControl.) |
![]() | IsSqlObjectDocument | Gets a Boolean which determines if the SqlScriptEditorControl is a debugging window. |
![]() | IsWithNumberOfRowsOnStatusBar | Gets a Boolean value that specifies whether the status bar contains a panel for number of fetched rows.(Inherited from ScriptAndResultsEditorControl.) |
![]() | 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.) |
![]() | LayoutEngine | (Inherited from Control.) |
![]() | Left | (Inherited from Control.) |
![]() | Location | (Inherited from Control.) |
![]() | Margin | (Inherited from Control.) |
![]() | MaximumSize | (Inherited from Control.) |
![]() | MinimumSize | (Inherited from Control.) |
![]() | MyOptions | Gets or sets connection options that will be used by this window for execution. |
![]() | Name | (Inherited from Control.) |
![]() | Padding | (Inherited from Control.) |
![]() | Parent | (Inherited from Control.) |
![]() | ParentForm | (Inherited from ContainerControl.) |
![]() | PreferredSize | (Inherited from Control.) |
![]() | ProductName | (Inherited from Control.) |
![]() | ProductVersion | (Inherited from Control.) |
![]() | RecreatingHandle | (Inherited from Control.) |
![]() | Region | (Inherited from Control.) |
![]() | RenderRightToLeft | (Inherited from Control.) |
![]() | ResizeRedraw | (Inherited from Control.) |
![]() | Right | (Inherited from Control.) |
![]() | RightToLeft | (Inherited from Control.) |
![]() | ScaleChildren | (Inherited from Control.) |
![]() | ScriptEditorContextMenuID | Gets the identifier of the context menu that should be shown when user right clicks on script editor.(Overrides ScriptEditorControl::ScriptEditorContextMenuID.) |
![]() | 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.) |
![]() | ShowFocusCues | (Inherited from Control.) |
![]() | ShowKeyboardCues | (Inherited from Control.) |
![]() | Site | (Inherited from Control.) |
![]() | Size | (Inherited from Control.) |
![]() | 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.) |
![]() | TabIndex | (Inherited from Control.) |
![]() | TabStop | (Inherited from Control.) |
![]() | Tag | (Inherited from Control.) |
![]() | Text | (Inherited from Control.) |
![]() | Top | (Inherited from Control.) |
![]() | TopLevelControl | (Inherited from Control.) |
![]() | UseWaitCursor | (Inherited from Control.) |
![]() | VerticalScroll | (Inherited from ScrollableControl.) |
![]() | Visible | (Inherited from Control.) |
![]() | VScroll | (Inherited from ScrollableControl.) |
![]() | Width | (Inherited from Control.) |
| Name | Description | |
|---|---|---|
![]() | disconnectAfterQuery | If True, disconnects after query executes. |
![]() | executionControlHost | Container for everything but the status bar. Used for layout. |
![]() | fedRootName | Specifies the name of the root federation.(Inherited from ScriptAndResultsEditorControl.) |
![]() | isCloudDatabase | Determines whether SQL Server Management Studio is currently connected to a SQL Azure server.(Inherited from ScriptAndResultsEditorControl.) |
![]() | isFedMemAttrChecked | A Boolean value that indicates whether the federation member attribute is checked.(Inherited from ScriptAndResultsEditorControl.) |
![]() | m_connection | Cached connection that is associated with the window.(Inherited from ScriptAndResultsEditorControl.) |
![]() | m_connectionInfoList | Cached connection info that is used in communication with the connection dialog box.(Inherited from ScriptAndResultsEditorControl.) |
![]() | 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.) |
![]() | m_dtExecBegan | Member to store at the beginning of script execution.(Inherited from ScriptAndResultsEditorControl.) |
![]() | m_scriptSplitter | Splitter to horizontally separate script and other elements.(Inherited from ScriptAndResultsEditorControl.) |
![]() | m_timeElapsedTimer | Timer for updating properties window with elapsed time during query execution.(Inherited from ScriptAndResultsEditorControl.) |
![]() | shardName | Specifies the shard name.(Inherited from ScriptAndResultsEditorControl.) |
![]() | statusBar | Status bar.(Inherited from ScriptAndResultsEditorControl.) |
![]() | sysShardName | Specifies the system shard name.(Inherited from ScriptAndResultsEditorControl.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IVsWindowFrameNotify2::OnClose(UInt32%) | Either cancels the currently running query or cancels the window closing.(Inherited from ScriptAndResultsEditorControl.) |
![]() ![]() | IContainerControl::ActivateControl(Control^) | (Inherited from ContainerControl.) |
![]() ![]() | IDropTarget::OnDragDrop(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragEnter(DragEventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragLeave(EventArgs^) | (Inherited from Control.) |
![]() ![]() | IDropTarget::OnDragOver(DragEventArgs^) | (Inherited from Control.) |
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.








