Using the Process Analyst > Process Analyst for Developers > Automation Model > ICommand.CommandId [Property][Get]

ICommand.CommandId [Property][Get]

Gets the CommandId of this command.

Defined As

Calling Syntax

This example assumes there is a valid Command object as retrieved from a Process Analyst's CommandSystem (for example, VBA: ProcessAnalyst.CommandSystem.Item(1)).

[VBA]

Sub Example(Command As Object)
Dim commandId As String
`Getting Property value
commandId = Command.CommandId
End Sub

[Cicode]

FUNCTION Example(OBJECT hCommand)
// Getting property value
STRING nCommandId = _ObjectGetProperty(hCommand,"CommandID");
END