Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

ICommand​.CommandId [Property][Get]

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets the CommandId of this command.

Defined As

  • [VBA] String CommandId

  • [Cicode] STRING hCommandId

  • [C++] BSTR CommandId

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 sCommandId = _ObjectGetProperty(hCommand,"CommandID");
END

See Also

ICommand Interface

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in