GefExecutionCondition.Expression (property)

Gets and sets the string used as an expression.
Syntax: VARIANT = object.Expression
object.Expression = VARIANT
Description: The Expression property gets and sets the string used as an expression.

Example:

Sub LinkFormat_Expression()
    
    Dim oCimObj As GefObject
    Dim oCimObjProced As GefProcedures
    Dim oCimExecCond As GefExecutionCondition
    
    Set oCimObj = CimGetObject
    
    Set oCimObjProced = oCimObj.Procedures
    For i = 0 To oCimObjProced.Count - 1
        Set oCimExecCond = oCimObjProced.Item(i).ExecutionCondition
        MsgBox "The execution condition for procedure " & _
            i + 1 & " is " & """" & oCimExecCond.Expression & """"
    Next i
    
End Sub