<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setdmprop(self, name, properties, bycolumn=True):
 """Set properties of a data manager. Properties (e.g. cachesize) of a data manager can be changed by defining them appropriately in the properties argument (a dict). Current values can be obtained using function :func:`getdmprop` which also serves as a template. The dict can contain more fields; only the fields with the names as returned by getdmprop are handled. The data manager can be specified in two ways: by data manager name or by the name of a column using the data manager. The argument `bycolumn` defines which way is used (default is by column name). """

        return self._setdmprop(name, properties, bycolumn)