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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also