> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# killProc

<div className="kinetica-doxygen">
  <div id="af0a72d4675bbb49b5d3ba88dbe31a664" />

  <h2 className="memtitle"><span className="permalink"><a href="#af0a72d4675bbb49b5d3ba88dbe31a664">◆ </a></span>killProc() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1KillProcResponse">KillProcResponse</a> kinetica.Kinetica.killProc </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1KillProcRequest">KillProcRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
                <td>)</td>

                <td />
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Kills a running proc instance. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L53059">53059</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a1acbb3e7b9108df3b3fa46e9aa99466c" />

  <h2 className="memtitle"><span className="permalink"><a href="#a1acbb3e7b9108df3b3fa46e9aa99466c">◆ </a></span>killProc() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname"><a className="el" href="/content/api/cs/classkinetica_1_1KillProcResponse">KillProcResponse</a> kinetica.Kinetica.killProc </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">run\_id</span></span><span className="paramdefsep"> = </span><span className="paramdefval">""</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Kills a running proc instance. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">run\_id</td>
              <td>The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a38f53dacf614f5b3be30c02211a18242">RUN\_TAG</a>: If <span className="em">run\_id</span> is specified, kill the proc instance that has a matching run ID and a matching run tag that was provided to <a className="el" href="#aa60540ec2c062ebd91bab5e0191d9653">executeProc</a>. If <span className="em">run\_id</span> is not specified, kill the proc instance(s) where a matching run tag was provided to <a className="el" href="#aa60540ec2c062ebd91bab5e0191d9653">executeProc</a>. The default value is ''. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a0046d174042dfb147b475e71f10df9e9">CLEAR\_EXECUTE\_AT\_STARTUP</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a9f54b0b4216f13595065937dba89ddc2">TRUE</a>, kill and remove the instance of the proc matching the auto-start run ID that was created to run when the database is started. The auto-start run ID was returned from <a className="el" href="#aa60540ec2c062ebd91bab5e0191d9653">executeProc</a> and can be retrieved using <a className="el" href="#a8ca2fac9ce1141844909df234e60afc8">showProc</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a9f54b0b4216f13595065937dba89ddc2">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#aeeaa58a14f2adcff1b62fe01107e8d56">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#aeeaa58a14f2adcff1b62fe01107e8d56">FALSE</a>.
                  </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Response object containing the result of the operation. </div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L53132">53132</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="ae6f37b6b455d4bdd5464f3d2106b24b8" />

  <h2 className="memtitle"><span className="permalink"><a href="#ae6f37b6b455d4bdd5464f3d2106b24b8">◆ </a></span>KillProcAsync() <span className="overload">\[1/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1KillProcResponse">KillProcResponse</a> > kinetica.Kinetica.KillProcAsync </td>
                <td>(</td>
                <td className="paramtype"><a className="el" href="/content/api/cs/classkinetica_1_1KillProcRequest">KillProcRequest</a></td>
                <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Kills a running proc instance. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">request\_</td>
              <td>Request object containing the parameters for the operation.</td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L53074">53074</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>

  <div id="a0775085d6ab9c938a90d139f4254c956" />

  <h2 className="memtitle"><span className="permalink"><a href="#a0775085d6ab9c938a90d139f4254c956">◆ </a></span>KillProcAsync() <span className="overload">\[2/2]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="mlabels">
        <tr>
          <td className="mlabels-left">
            <table className="memname">
              <tr>
                <td className="memname">async System.Threading.Tasks.Task\< <a className="el" href="/content/api/cs/classkinetica_1_1KillProcResponse">KillProcResponse</a> > kinetica.Kinetica.KillProcAsync </td>
                <td>(</td>
                <td className="paramtype">string</td>
                <td className="paramname"><span className="paramname"><span className="em">run\_id</span></span><span className="paramdefsep"> = </span><span className="paramdefval">""</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">IDictionary\< string, string ></td>
                <td className="paramname"><span className="paramname"><span className="em">options</span></span><span className="paramdefsep"> = </span><span className="paramdefval">null</span>, </td>
              </tr>

              <tr>
                <td className="paramkey" />

                <td />

                <td className="paramtype">System.Threading.CancellationToken</td>
                <td className="paramname"><span className="paramname"><span className="em">cancellationToken</span></span><span className="paramdefsep"> = </span><span className="paramdefval">default</span> )</td>
              </tr>
            </table>
          </td>

          <td className="mlabels-right"> <span className="mlabels"><span className="mlabel inline">inline</span></span> </td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Kills a running proc instance. </p>
      <p>(async)</p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramname">run\_id</td>
              <td>The run ID of a running proc instance. If a proc with a matching run ID is not found or the proc instance has already completed, no procs will be killed. If not specified, all running proc instances will be killed. The default value is ''.</td>
            </tr>

            <tr>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li> <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a38f53dacf614f5b3be30c02211a18242">RUN\_TAG</a>: If <span className="em">run\_id</span> is specified, kill the proc instance that has a matching run ID and a matching run tag that was provided to <a className="el" href="#aa60540ec2c062ebd91bab5e0191d9653">executeProc</a>. If <span className="em">run\_id</span> is not specified, kill the proc instance(s) where a matching run tag was provided to <a className="el" href="#aa60540ec2c062ebd91bab5e0191d9653">executeProc</a>. The default value is ''. </li>

                  <li>
                    <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a0046d174042dfb147b475e71f10df9e9">CLEAR\_EXECUTE\_AT\_STARTUP</a>: If <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a9f54b0b4216f13595065937dba89ddc2">TRUE</a>, kill and remove the instance of the proc matching the auto-start run ID that was created to run when the database is started. The auto-start run ID was returned from <a className="el" href="#aa60540ec2c062ebd91bab5e0191d9653">executeProc</a> and can be retrieved using <a className="el" href="#a8ca2fac9ce1141844909df234e60afc8">showProc</a>. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#a9f54b0b4216f13595065937dba89ddc2">TRUE</a> </li>
                      <li> <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#aeeaa58a14f2adcff1b62fe01107e8d56">FALSE</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cs/structkinetica_1_1KillProcRequest_1_1Options#aeeaa58a14f2adcff1b62fe01107e8d56">FALSE</a>.
                  </li>
                </ul>

                The default value is an empty Dictionary.
              </td>
            </tr>

            <tr>
              <td className="paramname">cancellationToken</td>
              <td>Cancellation token to cancel the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd">Task that returns the response object containing the result of the operation.</div>
      </div>

      <p className="definition">Definition at line <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs#L53190">53190</a> of file <a className="el" href="https://github.com/kineticadb/kinetica-api-cs/blob/master/Kinetica/KineticaFunctions.cs">KineticaFunctions.cs</a>.</p>
    </div>
  </div>
</div>
