SqlScriptEditorControl.OnExec(Guid, UInt32, UInt32, IntPtr, IntPtr) Method
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.
Overrides the OnExec function.
public:
override int OnExec(Guid % guidGroup, System::UInt32 nCmdId, System::UInt32 nCmdExcept, IntPtr pobIn, IntPtr pvaOut);
public override int OnExec (ref Guid guidGroup, uint nCmdId, uint nCmdExcept, IntPtr pobIn, IntPtr pvaOut);
override this.OnExec : Guid * uint32 * uint32 * nativeint * nativeint -> int
Public Overrides Function OnExec (ByRef guidGroup As Guid, nCmdId As UInteger, nCmdExcept As UInteger, pobIn As IntPtr, pvaOut As IntPtr) As Integer
Parameters
Returns
An integer value that specifies the result of the operation.
Remarks
There are two WPF controls: the code editor window and the results text window. Base class logic does not send Exec request to these controls, so forwarding to the right control. If the editor is active, send to the code editor window, else forward to the results text window.