dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleAlerter Class / WaitAlert Method

In This Topic
    WaitAlert Method
    In This Topic
    Waits specified Timeout for alert to be receieved from server.
    Syntax
    'Declaration
     
    Public Function WaitAlert() As OracleAlert
    public OracleAlert WaitAlert()

    Return Value

    An OracleAlert object. If no alert happened during the Timeout, the value returned is null.
    Remarks

    The OracleAlerter.WaitAlert method initiates the listening for alerts during the Timeout period.

    Unlike OracleAlerter.WaitAlert, this method reserves the Connection to perform listening.

    See Also