ICommandTargetMenuService.GetCommandInfo 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Indicates whether the service gets a command information.
네임스페이스: 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
매개 변수
- commandId
유형: System.ComponentModel.Design.CommandID
The command identifier.
- menuCommand
유형: System.ComponentModel.Design.MenuCommand%
The menu command.
반환 값
유형: System.Boolean
true if the service gets a command information; otherwise, false.