ScriptAndResultsEditorControl Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for all editors that have a script, a splitter below it, and a control below the splitter.
public ref class ScriptAndResultsEditorControl abstract : Microsoft::SqlServer::Management::UI::VSIntegration::Editors::ScriptEditorControl, Microsoft::SqlServer::Management::UI::VSIntegration::Editors::ISqlScriptWindowWithConnection, Microsoft::VisualStudio::Shell::Interop::IVsWindowFrameNotify3
public abstract class ScriptAndResultsEditorControl : Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptEditorControl, Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ISqlScriptWindowWithConnection, Microsoft.VisualStudio.Shell.Interop.IVsWindowFrameNotify3
type ScriptAndResultsEditorControl = class
inherit ScriptEditorControl
interface IVsWindowFrameNotify3
interface ISqlScriptWindowWithConnection
interface ISqlToolsWindowWithConnectionState
Public MustInherit Class ScriptAndResultsEditorControl
Inherits ScriptEditorControl
Implements ISqlScriptWindowWithConnection, IVsWindowFrameNotify3
- Inheritance
- Derived
- Implements
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.
Fields
buildAction | (Inherited from ScriptEditorControl) |
fedRootName |
Specifies the name of the root federation. |
initialFocus | (Inherited from ScriptEditorControl) |
isCloudDatabase |
Determines whether SQL Server Management Studio is currently connected to a SQL Azure server. |
isClrProjectFile | (Inherited from ScriptEditorControl) |
isDacProjectFile | (Inherited from ScriptEditorControl) |
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 |
Specifies a connection information that should be applied to the window after it is fully initialized, unless it is stamped with another connection. |
m_dtExecBegan |
Specifies a member to store at the beginning of script execution. |
m_Editor | (Inherited from ScriptEditorControl) |
m_scriptSplitter |
Splitter to horizontally separate script and other elements. |
m_serviceProvider | (Inherited from ScriptEditorControl) |
m_sp | (Inherited from ShellWindowPaneUserControl) |
m_strOrigMoniker | (Inherited from ScriptEditorControl) |
m_timeElapsedTimer |
Timer for updating properties window with elapsed time during query execution. |
menuCommands | (Inherited from ShellWindowPaneUserControl) |
projectNode | (Inherited from ScriptEditorControl) |
selectionServiceForProperties | (Inherited from ShellWindowPaneUserControl) |
shardName |
Specifies the shard name. |
statusBar |
Status bar. |
statusBarManager | (Inherited from ScriptEditorControl) |
sysShardName |
Specifies the system shard name. |
Properties
BuildAction | (Inherited from ScriptEditorControl) |
CmdUIGuid | (Inherited from ScriptEditorControl) |
Connection |
Returns parameters in the case where script editor has a current connection. |
ConnectionInfoList |
Gets connection context for the editor. |
CurrentDB |
Gets or sets the logical database that is current for the script. |
DefaultHelpContext | (Inherited from ScriptEditorControl) |
DocData | (Inherited from ScriptEditorControl) |
EditorText | (Inherited from ScriptEditorControl) |
InitialFocus | (Inherited from ScriptEditorControl) |
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. |
IsExecuting |
Gets or sets whether the script is being executed. |
IsFrameActive | (Inherited from ScriptEditorControl) |
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. |
LanguageServiceGUID | (Inherited from ScriptEditorControl) |
NameInPropWindow | (Inherited from ShellWindowPaneUserControl) |
ScriptEditorContextMenuID | (Inherited from ScriptEditorControl) |
ShowCurrentResultsBelowSplitter |
Gets or sets a Boolean value that specifies whether the results show below splitter or start from the second tab. |
SqlCmdVars |
Gets or sets a dictionary containing all the variables and their values from sqlcmdvars file in Database projects in Visual Studio. |
StatusBarManager | (Inherited from ScriptEditorControl) |
VsUserContext | (Inherited from ScriptEditorControl) |
Methods
Events
NewConnectionForScript |
Event that is fired when a user specifies a new connection for the script from the connection dialog box. |