Share via


ScriptAndResultsEditorControl.UpdateMenuCommandsStatus Method

Called by the base class to update command status.

Namespace:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
Assembly:  SQLEditors (in SQLEditors.dll)

Syntax

'Declaration
Protected Overrides Function UpdateMenuCommandsStatus ( _
    cmd As MenuCommand _
) As Boolean
'Usage
Dim cmd As MenuCommand 
Dim returnValue As Boolean 

returnValue = Me.UpdateMenuCommandsStatus(cmd)
protected override bool UpdateMenuCommandsStatus(
    MenuCommand cmd
)
protected:
virtual bool UpdateMenuCommandsStatus(
    MenuCommand^ cmd
) override
abstract UpdateMenuCommandsStatus : 
        cmd:MenuCommand -> bool  
override UpdateMenuCommandsStatus : 
        cmd:MenuCommand -> bool
protected override function UpdateMenuCommandsStatus(
    cmd : MenuCommand
) : boolean

Parameters

Return Value

Type: System.Boolean
A Boolean value, True if command status has been updated, False if the command is not recognized.

See Also

Reference

ScriptAndResultsEditorControl Class

Microsoft.SqlServer.Management.UI.VSIntegration.Editors Namespace