ICommandTarget.ProvideStatusForCommand Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Indicate a value whether the menu service needs the status of the menu command.
Namespace: Microsoft.DataWarehouse.Interfaces
Assembly: Microsoft.DataWarehouse.Interfaces (in Microsoft.DataWarehouse.Interfaces.dll)
Syntax
'Declaration
Function ProvideStatusForCommand ( _
menuCommand As MenuCommand _
) As Boolean
'Usage
Dim instance As ICommandTarget
Dim menuCommand As MenuCommand
Dim returnValue As Boolean
returnValue = instance.ProvideStatusForCommand(menuCommand)
bool ProvideStatusForCommand(
MenuCommand menuCommand
)
bool ProvideStatusForCommand(
MenuCommand^ menuCommand
)
abstract ProvideStatusForCommand :
menuCommand:MenuCommand -> bool
function ProvideStatusForCommand(
menuCommand : MenuCommand
) : boolean
Parameters
- menuCommand
Type: System.ComponentModel.Design.MenuCommand
The menu command to handle.
Return Value
Type: System.Boolean
true if the status has been provided; otherwise, false.