GefProcedure.ExecutionCondition (read-only property)

Gets the condition that determines whether the procedure will be executed.
Syntax: Set GefExecutionCondition = object.ExecutionCondition
Description: The ExecutionCondition property returns the GefExecutionCondition object.

Example:

Sub GefProcedure_ExecutionCondition()
    
    Dim oCimObj As GefObject
    Dim oCimProcedure As GefProcedure
    Dim oCimExecCond As GefExecutionCondition
    
    Set oCimObj = CimGetObject
    Set oCimProcedure = oCimObj.Procedures.Item(0)
    Set oCimExecCond = oCimProcedure.ExecutionCondition
    
    MsgBox "The execution condition's expression is " & _
        """" & oCimExecCond.Expression & """"
    
End Sub