AdsConnection.IsDictionaryConn

Advantage .NET Data Provider

Returns whether an open connection is an Advantage Data Dictionary connection.

public bool IsDictionaryConn{ get; }

Remarks

IsDictionaryConn checks an open connection and returns true if the connection is a data dictionary connection (connection types ADS_DATABASE_CONNECTION or ADS_SYS_ADMIN_CONNECTION). Otherwise false is returned.

Note If the connection is not open, calling IsDictionaryConn will cause an exception.