ScriptAndResultsEditorControl Class
Base class for all editors that have a script, a splitter below it, and a control below the splitter.
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
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)
Syntax
'Declaration
Public MustInherit Class ScriptAndResultsEditorControl _
Inherits ScriptEditorControl _
Implements IVsWindowFrameNotify2, ISqlToolsWindowWithConnectionState
'Usage
Dim instance As ScriptAndResultsEditorControl
public abstract class ScriptAndResultsEditorControl : ScriptEditorControl,
IVsWindowFrameNotify2, ISqlToolsWindowWithConnectionState
public ref class ScriptAndResultsEditorControl abstract : public ScriptEditorControl,
IVsWindowFrameNotify2, ISqlToolsWindowWithConnectionState
[<AbstractClassAttribute>]
type ScriptAndResultsEditorControl =
class
inherit ScriptEditorControl
interface IVsWindowFrameNotify2
interface ISqlToolsWindowWithConnectionState
end
public abstract class ScriptAndResultsEditorControl extends ScriptEditorControl implements IVsWindowFrameNotify2, ISqlToolsWindowWithConnectionState
The ScriptAndResultsEditorControl type exposes the following members.
Properties
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.) | |
CompanyName | (Inherited from Control.) | |
Connection | Returns parameters in the case where script editor has a current connection. | |
ConnectionInfoList | Gets connection context for the editor. | |
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 logical database that is current for the script. | |
Cursor | (Inherited from Control.) | |
DataBindings | (Inherited from Control.) | |
DefaultCursor | (Inherited from Control.) | |
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.) | |
DockPadding | (Inherited from ScrollableControl.) | |
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. | |
IsConnected | Gets or sets whether the editor control is connected. | |
IsControlUnderSplitterVisible | Gets a Boolean value that specifies how the window will be resized. | |
IsDebugging | Gets or sets whether the script is being executed. | |
IsDisposed | (Inherited from Control.) | |
IsExecuting | Gets or sets whether the script is being executed. | |
IsHandleCreated | (Inherited from Control.) | |
IsMirrored | (Inherited from Control.) | |
IsScriptEditorActive | Gets a Boolean value that specifies whether the code editor is currently active. | |
IsSqlCmdMode | Gets or sets the flag that specifies whether SQLCMD mode is set. | |
IsWithNumberOfRowsOnStatusBar | Gets a Boolean value that specifies whether the status bar contains a panel for number of fetched rows. | |
LayoutEngine | (Inherited from Control.) | |
Left | (Inherited from Control.) | |
Location | (Inherited from Control.) | |
Margin | (Inherited from Control.) | |
MaximumSize | (Inherited from Control.) | |
MinimumSize | (Inherited from Control.) | |
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 | Obsolete. (Inherited from Control.) | |
ResizeRedraw | (Inherited from Control.) | |
Right | (Inherited from Control.) | |
RightToLeft | (Inherited from Control.) | |
ScaleChildren | (Inherited from Control.) | |
ShowCurrentResultsBelowSplitter | Gets or sets a Boolean value that specifies whether the results show below splitter or start from the second tab. | |
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. | |
TabIndex | (Inherited from Control.) | |
TabStop | (Inherited from Control.) | |
Tag | (Inherited from Control.) | |
Text | (Inherited from UserControl.) | |
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.) | |
WindowTarget | (Inherited from Control.) |
Top
Methods
Top
Events
Name | Description | |
---|---|---|
AutoSizeChanged | (Inherited from UserControl.) | |
AutoValidateChanged | (Inherited from UserControl.) | |
BackColorChanged | (Inherited from Control.) | |
BackgroundImageChanged | (Inherited from Control.) | |
BackgroundImageLayoutChanged | (Inherited from Control.) | |
BindingContextChanged | (Inherited from Control.) | |
CausesValidationChanged | (Inherited from Control.) | |
ChangeUICues | (Inherited from Control.) | |
Click | (Inherited from Control.) | |
ClientSizeChanged | (Inherited from Control.) | |
ContextMenuChanged | (Inherited from Control.) | |
ContextMenuStripChanged | (Inherited from Control.) | |
ControlAdded | (Inherited from Control.) | |
ControlRemoved | (Inherited from Control.) | |
CursorChanged | (Inherited from Control.) | |
Disposed | (Inherited from Component.) | |
DockChanged | (Inherited from Control.) | |
DoubleClick | (Inherited from Control.) | |
DragDrop | (Inherited from Control.) | |
DragEnter | (Inherited from Control.) | |
DragLeave | (Inherited from Control.) | |
DragOver | (Inherited from Control.) | |
EnabledChanged | (Inherited from Control.) | |
Enter | (Inherited from Control.) | |
FontChanged | (Inherited from Control.) | |
ForeColorChanged | (Inherited from Control.) | |
GiveFeedback | (Inherited from Control.) | |
GotFocus | (Inherited from Control.) | |
HandleCreated | (Inherited from Control.) | |
HandleDestroyed | (Inherited from Control.) | |
HelpRequested | (Inherited from Control.) | |
ImeModeChanged | (Inherited from Control.) | |
Invalidated | (Inherited from Control.) | |
KeyDown | (Inherited from Control.) | |
KeyPress | (Inherited from Control.) | |
KeyUp | (Inherited from Control.) | |
Layout | (Inherited from Control.) | |
Leave | (Inherited from Control.) | |
Load | (Inherited from UserControl.) | |
LocationChanged | (Inherited from Control.) | |
LostFocus | (Inherited from Control.) | |
MarginChanged | (Inherited from Control.) | |
MouseCaptureChanged | (Inherited from Control.) | |
MouseClick | (Inherited from Control.) | |
MouseDoubleClick | (Inherited from Control.) | |
MouseDown | (Inherited from Control.) | |
MouseEnter | (Inherited from Control.) | |
MouseHover | (Inherited from Control.) | |
MouseLeave | (Inherited from Control.) | |
MouseMove | (Inherited from Control.) | |
MouseUp | (Inherited from Control.) | |
MouseWheel | (Inherited from Control.) | |
Move | (Inherited from Control.) | |
NewConnectionForScript | Event that is fired when a user specifies a new connection for the script from the connection dialog box. | |
PaddingChanged | (Inherited from Control.) | |
Paint | (Inherited from Control.) | |
ParentChanged | (Inherited from Control.) | |
PreviewKeyDown | (Inherited from Control.) | |
QueryAccessibilityHelp | (Inherited from Control.) | |
QueryContinueDrag | (Inherited from Control.) | |
RegionChanged | (Inherited from Control.) | |
Resize | (Inherited from Control.) | |
RightToLeftChanged | (Inherited from Control.) | |
Scroll | (Inherited from ScrollableControl.) | |
SizeChanged | (Inherited from Control.) | |
StyleChanged | (Inherited from Control.) | |
SystemColorsChanged | (Inherited from Control.) | |
TabIndexChanged | (Inherited from Control.) | |
TabStopChanged | (Inherited from Control.) | |
TextChanged | (Inherited from UserControl.) | |
Validated | (Inherited from Control.) | |
Validating | (Inherited from Control.) | |
VisibleChanged | (Inherited from Control.) |
Top
Fields
Name | Description | |
---|---|---|
fedRootName | Specifies the name of the root federation. | |
isCloudDatabase | Determines whether SQL Server Management Studio is currently connected to a SQL Azure server. | |
isFedMemAttrChecked | A Boolean value that indicates whether the federation member attribute is checked. | |
isProjectDebugging | A Boolean value that indicates whether the project is debugging. | |
m_connection | Cached connection that is associated with the window. | |
m_connectionInfoList | Cached connection info that is used in communication with the connection dialog box. | |
m_connectionToUse | Connection information that should be applied to the window after it is fully initialized, unless it is stamped with another connection. | |
m_dtExecBegan | Member to store at the beginning of script execution. | |
m_scriptSplitter | Splitter to horizontally separate script and other elements. | |
m_timeElapsedTimer | Timer for updating properties window with elapsed time during query execution. | |
shardName | Specifies the shard name. | |
statusBar | Status bar. | |
sysShardName | Specifies the system shard name. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IVsWindowFrameNotify2OnClose | Either cancels the currently running query or cancels the window closing. | |
IContainerControl.ActivateControl | (Inherited from ContainerControl.) | |
IDropTarget.OnDragDrop | (Inherited from Control.) | |
IDropTarget.OnDragEnter | (Inherited from Control.) | |
IDropTarget.OnDragLeave | (Inherited from Control.) | |
IDropTarget.OnDragOver | (Inherited from Control.) |
Top
Remarks
This class defines splitter member as well as set of protected methods that should be used for manipulation with the splitter and controls above/below it.
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.
See Also
Reference
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace