          <div>
            <h2 class="title" style="clear: both"><a id="txnset_name"></a>DbTxn::set_name()</h2>
          </div>
        </div>
      </div>
      <pre class="programlisting">#include &lt;db_cxx.h&gt;

int
DbTxn::set_name(const char *name); </pre>
      <p>
         The <code class="methodname">DbTxn::set_name()</code> method associates the specified string with
         the transaction.  The string is returned by 
         <a class="xref" href="txnstat.html" title="DbEnv::txn_stat()">DbEnv