GetCommandInfo 方法

此 API 支持 SQL Server 2008 基础结构,但不能通过代码直接使用。

命名空间:  Microsoft.DataWarehouse.Interfaces
程序集:  Microsoft.DataWarehouse.Interfaces(在 Microsoft.DataWarehouse.Interfaces.dll 中)

语法

声明
Function GetCommandInfo ( _
    commandId As CommandID, _
    <OutAttribute> ByRef menuCommand As MenuCommand _
) As Boolean
用法
Dim instance As ICommandTargetMenuService
Dim commandId As CommandID
Dim menuCommand As MenuCommand
Dim returnValue As Boolean

returnValue = instance.GetCommandInfo(commandId, _
    menuCommand)
bool GetCommandInfo(
    CommandID commandId,
    out MenuCommand menuCommand
)
bool GetCommandInfo(
    CommandID^ commandId, 
    [OutAttribute] MenuCommand^% menuCommand
)
abstract GetCommandInfo : 
        commandId:CommandID * 
        menuCommand:MenuCommand byref -> bool 
function GetCommandInfo(
    commandId : CommandID, 
    menuCommand : MenuCommand
) : boolean

返回值

类型:System. . :: . .Boolean