BACnet.Client.Db.TableExistsCommand.Execute C# (CSharp) Method

Execute() public method

Executes the command
public Execute ( string tableName ) : bool
tableName string The table name to check for
return bool
        public bool Execute(string tableName)
        {
            long count;

            lock(this)
            {
                _tableName.Value = tableName;
                count = (long)_command.ExecuteScalar();
                return count > 0;
            }
        }