Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

isconnection

(Not recommended) Determine if database connections are valid

isconnection will be removed in a future release. Use isopen instead.

Syntax

a = isconnection(conn)

Description

a = isconnection(conn) returns 1 if the database connection conn is valid, or returns 0 otherwise.

Examples

Check if the database connection conn is valid.

a = isconnection(conn)
a =
     1

See Also

| |

Introduced before R2006a

Was this topic helpful?