SqlScriptEditorControl.OnExec 메서드

Overrides the OnExec function.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

public override int OnExec(
	ref Guid guidGroup,
	uint nCmdId,
	uint nCmdExcept,
	IntPtr pobIn,
	IntPtr pvaOut
)

매개 변수

guidGroup
유형: System.Guid
A reference to Guid.
nCmdId
유형: System.UInt32
An UInt32 value that specifies command identifier.
nCmdExcept
유형: System.UInt32
An UInt32 value that specifies command exception.
pobIn
유형: System.IntPtr
A IntPtr object.
pvaOut
유형: System.IntPtr
A IntPtr object.

반환 값

유형: System.Int32
An integer value that specifies the result of the operation.

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.

커뮤니티 추가 항목

추가
표시: