dotConnect Universal Documentation
Devart.Data.Universal Namespace / UniMacro Class / Condition Property

In This Topic
    Condition Property
    In This Topic
    Gets or sets macro condition.
    Syntax
    'Declaration
     
    Public Property Condition As String
    public string Condition {get; set;}

    Property Value

    Condition for the macro, which determines whether macro is evaluated to its Value or empty string.
    Remarks

    Macro condition is name of another custom UniMacro or predefined macro like MySQL, OraDirect etc. If the condition macro is defined, the current macro evaluates to what is specified in the Value property, otherwise it returns empty string.

    If the condition is not specified (represents empty string), then macro always evaluates to Value.

    See Also