Using the Process Analyst > Process Analyst for Developers > Automation Model > IProcessAnalyst.CommandSystem [Property][Get]

IProcessAnalyst.CommandSystem [Property][Get]

Gets a reference to the Process Analyst's Command System object. With this object you can execute commands, query command information, and create your own custom commands.

Defined As

Execution Result

If the property get succeeds the return value will be Success. If the return variable is bad then the return value will be InvalidArgument.

Calling Syntax

Assumes you have a page called "myPage" and the Process Analyst has been named "AN35".

[VBA]

Sub Example()
Dim commandSystem As Object
`Retrieve command system
Set commandSystem = myPage_AN35.CommandSystem
End Sub

[Cicode]

FUNCTION Example()
OBJECT hProcessAnalyst = ObjectByName("AN35");
OBJECT hCommandSystem;
// Retrieve command system
hCommandSystem = _ObjectGetProperty(hProcessAnalyst, "CommandSystem");
END