Deletes a Procedure object as specified by the given name or ID, from ER/Studio. PARAMETERS: Identifier (String or Integer).
Public Sub Remove( _ ByVal Identifier As Variant _ ) |
Dim MyModel As Model
Dim ProcID As Integer
' We want to remove the procedure with 2 as the ID
ProcID = 2
MyModel.Procedures.Remove(ProcID)