ScriptAndResultsEditorControl.IVsWindowFrameNotify2.OnClose Method
Either cancels the currently running query or cancels the window closing.
Namespace: Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly: SQLEditors (in SQLEditors.dll)
Syntax
'Declaration
Private Function OnClose ( _
ByRef frameShow As UInteger _
) As Integer Implements IVsWindowFrameNotify2.OnClose
'Usage
Dim instance As ScriptAndResultsEditorControl
Dim frameShow As UInteger
Dim returnValue As Integer
returnValue = CType(instance, IVsWindowFrameNotify2).OnClose(frameShow)
int IVsWindowFrameNotify2.OnClose(
ref uint frameShow
)
private:
virtual int OnClose(
unsigned int% frameShow
) sealed = IVsWindowFrameNotify2::OnClose
private abstract OnClose :
frameShow:uint32 byref -> int
private override OnClose :
frameShow:uint32 byref -> int
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- frameShow
Type: System.UInt32%
A pointer to UInte32.
Return Value
Type: System.Int32
An integer value that indicates the result of the operation.
Implements
IVsWindowFrameNotify2OnClose(UInt32)
See Also
Reference
ScriptAndResultsEditorControl Class
Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace