Abort

<< Click to Display Table of Contents >>

 

Abort

Abort([ActorID])

Immediately cancels a pending action. This method is executed automatically if a Command Unit is deactivated. The ActorID parameter is the user name. If omitted, it assumes Elipse Power Viewer's user logon, "Anonymous" if there is no user logged on, or "System" if that method's call started at the server. The next script contains an example of using this method.

Sub CommandButton1_Click()
  Set CMDUnit = Application.GetObject(_
    "Substation1.Breaker1.Commands.cmdBreakerPosition.Open")
  CMDUnit.Abort()
End Sub

Was this page useful?