SqlScriptEditorControl.OnExec(Guid, UInt32, UInt32, IntPtr, IntPtr) Method

Definition

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

guidGroup
Guid

A reference to Guid.

nCmdId
UInt32

An UInt32 value that specifies command identifier.

nCmdExcept
UInt32

An UInt32 value that specifies command exception.

pobIn
IntPtr

nativeint

A IntPtr object.

pvaOut
IntPtr

nativeint

A IntPtr object.

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.

Applies to