SqlScriptEditorControl.OnQueryStatus 메서드

Overrides the OnQueryStatus function.

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

public override int OnQueryStatus(
	ref Guid guidGroup,
	uint nCmdId,
	OLECMD[] oleCmd,
	IntPtr oleText
)

매개 변수

guidGroup
유형: System.Guid
A reference to Guid.
nCmdId
유형: System.UInt32
A UInt32.
oleCmd
유형: OLECMD[]
An array of OLECMD objects.
oleText
유형: System.IntPtr
A IntPtr.

반환 값

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

There are two WPF controls: the code editor window and the results text window. Base class logic does not send QueryStatus request to these controls, so forwarding to the right control. If the editor is active, then send to the code editor window, else forward to the results text window.

커뮤니티 추가 항목

추가
표시: